Hi, I am using Samba as a file server; with 11 users : usr1, usr2, ..... usr10, usr 11. There are 11 folders on the server : sfold1, sfold2, ...... sfold10, sfold11 Each user has full access (read/write) to his/her folder and no access at all to the other folders. Therefore I would like to get each user to see his folder and none of the others when one access the samba-server. How can I do that ? I have tried to use the "browseable", "only user", and a few other flags but it did not work. Either the folder is visible to everyone or to nobody. Of course I still can control the access rights, but it would be cleaner if the non-accessible folders did show up at all. Has anyboby got this problem ? Does anyone know how to solve it ? Thanks in advance. Michel
On Fri, Nov 25, 2005 at 07:06:53PM +0900, Michel Bouchet wrote:> Hi, > > I am using Samba as a file server; with 11 users : > usr1, usr2, ..... usr10, usr 11. > > There are 11 folders on the server : > sfold1, sfold2, ...... sfold10, sfold11 > > Each user has full access (read/write) to his/her folder and no access at > all to the other folders. > > Therefore I would like to get each user to see his folder and none of the > others when one access the samba-server. > > How can I do that ?You can use %U in home share declaration. In this case, user mount his /home/homedir, but not /home. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:DmitriyKirhlarov@oilspace.com OILspace - The resource enriched - www.oilspace.com
Michel Bouchet wrote:> Does anyone know how to solve it ?"hide unreadable = yes" or other hide* parameters (man smb.conf) cheers Paul
Hi, I am using Samba as a file server; with 11 users : usr1, usr2, ..... usr10, usr 11. There are several folders on the server : sfold1, sfold2, ...... sfold10, sfold23 Each user has full access (read/write) to some folders, only read access to some others and finally no access at all to some other folders. I would like the folders which are not accessible to a given user to be invisible when she/he browses the samba-server. How can I do that ? I have tried to use the "browseable", "only user", and a few other flags but it did not work. Either the folder is visible to everyone or to nobody. Of course I still can control the access rights, but it would be cleaner if the non-accessible folders did show up at all. Has anyboby got this problem ? Does anyone know how to solve it ? Thanks in advance. Michel
if there are just "some" exceptions (=files/dirs,which are not readable for some users), you could write specific include-statements, which define "veto files" per user i think this "hack" should be considered the last way out :) greez Michel Bouchet wrote:> Hi, > > I am using Samba as a file server; with 11 users : > usr1, usr2, ..... usr10, usr 11. > > There are several folders on the server : > sfold1, sfold2, ...... sfold10, sfold23 > > Each user has full access (read/write) to some folders, only read access to > some others and finally no access at > all to some other folders. > > I would like the folders which are not accessible to a given user to be > invisible when she/he browses the samba-server. > > How can I do that ? > > I have tried to use the "browseable", "only user", and a few other flags but > it did not work. Either the folder is visible to everyone or to nobody. Of > course I still can control the access rights, but it would be cleaner if the > non-accessible folders did show up at all. > > Has anyboby got this problem ? > > Does anyone know how to solve it ? > > Thanks in advance. > > Michel >
Skipped content of type multipart/signed
hi, i thought "hide" means hiding and not vetoing files?!?! but, as mentioned, hiding is reversible on the client cheerz > Michael: sorry, blindly hit the reply button. never mind :) Mario Lipinski wrote:> Hello, > > Am Mittwoch, den 28.12.2005, 17:09 +0100 schrieb Michael Gasch: > >>Michel Bouchet wrote: >> >>>I would like the folders which are not accessible to a given user > > to be > >>>invisible when she/he browses the samba-server. > > > i was not following the discussion, but i think setting "hide unreadable > = yes" should do exactly that. > > Mario > > > Michael: sorry, blindly hit the reply button. >