[Samba] Multiple Filesystems on one path stmt in smb.conf
Sherwood Botsford
sbotsford at sjsa.ab.ca
Thu Feb 1 17:37:19 GMT 2007
M Azer wrote:
> can you hide symlinks from appearing to users with no access to certain
> folders?
> For example multi symlinks to IT, Fin, Marketing, Devel all under the
> share
> folder when a user from Devel group login the user will see the other 3
> folders but won't have access to them. is there any way to hide those
> folders based on permission?
>
> Thanks
>
I don't think so. But you can do it this way:
[devel]
valid users = +devel
path = /shares/devel
[IT]
valid users = +itguys
path = /shares/it
[Finance]
valid users = +fin
path = /shares/finance
...
Then
/shares/devel
symlink to actual /export/devel folder
symlink to other stuff devel needs to see.
/shares/IT
symlink to /export/devel
symlink to /export/IT
symlink to /export/finance
symlink to /export/marketing
/shares/finance
symlink to /export/finance
symlink to /export/marketing
...
More information about the samba
mailing list