[Samba] write list and valid users

John Drescher drescherjm at gmail.com
Thu Dec 20 00:17:54 GMT 2007


On Dec 19, 2007 6:26 PM, Sam Bayne <sbayne at sccd.ctc.edu> wrote:
> The way we handle this is to ignore he valid user and write list settings.
>
> Our shares look like this:
> [Shares]
>     path=/home/shares
>     browseable = yes
>     writable = yes
>     force create mode = 0770
>     force directory mode = 2770
>
> Then we chown and set unix permissions on subdirectories of /home/shares
> that restrict the folder access to groups.
>
I do that as well because I all my users have windows and linux
accounts and if the unix permissions are not correct then they will be
able to see the files on the linux side anyways...
>
> The minor drawback is that users can see that other departments exist,
> but they can only enter their own folders.
>
I think you can hide these with the hide unreadable option of smb.conf

John


More information about the samba mailing list