Hi All,
This is my first post on this forum. And i have a question on SAMBA. I would be greatful if any one could help me out.
Problem description:
We had a windows fileserver, which crashed (thanks to MS and its lousy OS). I have some how convinced others to move the fileserver to linux platform. I have configured the samba server and its running well (Accessible on windows network). Have also started moving the files from windows to Linux.
Now the problem is that in windows there is an option of setting security on subfolders. Like say i have a shared folder
d:\ForAll and subfolders
d:\ForAll\ForTim and
d:\ForAll\ForJohn. And user Tim has
-rw- permission on
d:\ForAll\ForTim but only
-r- permission on
d:\ForAll\ForJohn and similarly John has
-rw- permission on
d:\ForAll\ForJohn but only
-r- permission on
d:\ForAll\ForTim. OK this can be achieved by using write list and read list parameter in smb.conf.
What i did was on linux
Code:
[ForAll]
path = /forall
browseable = yes
guest ok = yes
writeable = yes
create mask = 744
write list = john tim
[ForTim]
path = /forall/fortim
browseable = yes
guest ok = yes
writeable = yes
create mask = 744
write list = tim
read list = john
[ForJohn]
path = /forall/forjohn
browseable = yes
guest ok = yes
writeable = yes
create mask = 744
write list = john
read list = tim
All set now, but i want to see only the shared folder
ForAll on the network neighbourhood and not its subfolders. Now is it possible to hide the shared subfolders or to be more precise set permissions on same subfolders based on different user requirements.
Will setting
browseable = no do the trick ? Won't it hide the subfolders when i open the parent folder ForAll cos i don't want that. I just want the subfolders not to be visible only while browing the Network Neighbourhood.
I hope im clear in explaining my problem.
OS is Redhat Linux 9.0 and SAMBA server is 2.2.7a
Regards
Amar