[Samba] user are able to access "/" partition.
dhillon.gs at pg.com
Wed May 16 01:01:35 GMT 2007
Thanks every one for the support.
My problem got solved. For those who are not aware of my issue, I will
just repeat in short. My issue was, all the users were able to browse
/root/ partition. I was looking to stop this, there was no sharing
declare for /root/ , still it was able to browse by users.
Solution I implemented is below, [Home] section is unchanged, I have
just added [root] section. After adding this section, users cannot
access /root/ partitions.
comment = Home Directories
read only = No
max connections = 5
browseable = No
comment = root dirctory
path = %S
Thanks to every one again
From: Tim Bates [mailto:tin at new-life.org.au]
Sent: Monday, May 14, 2007 10:44 PM
To: samba at lists.samba.org
Subject: Re: [Samba] user are able to access "/" partition.
Dhillon, Gurjit wrote:
> We have the system customized, there are few user whose home directory
> is under /corp/home/gurjit or /fem/home/gurjit1 or
> so I cannot mention path = /home/
> How can I go about this now ??
Isn't there a variable for the user's home dir? Something like %H? Check
the man page for smb.conf (there's an online version if you don't have
You can also include files based on groups ("include =
/etc/samba/homes-%G.conf" is a real example of what I use at work to get
different forced permissions for each group).
More information about the samba