Click to See Complete Forum and Search --> : [SOLVED - SAMBA]: Restricting access to a particular share


fulat2k
01-04-2006, 08:40 PM
Hi folks,

I've got a Samba server running with sharing enabled to 3 folders. However, I want a particular folder to be accessible to only a particular group. Here's a snippet of what I'm using; which doesn't seem to be working as other groups are able to access the folder:

[misc]
comment = Misc Directory
path = /opt/storage/misc
read list = @boinks
write list = @boinks
force group = boinks
create mask = 0770
directory mask = 0770
guest ok = no
browseable = no

Any idea on what I'm missing to prevent other groups except for 'boinks' to access the share?


Thanks!

cybertron
01-05-2006, 12:14 AM
I think it's because you have force group = boinks. IIRC that says that all users who try to access the share should be considered a part of the group boinks. Try just removing that line and see if it works.

fulat2k
01-05-2006, 01:43 AM
Awesome! It works! Thanks for the info. Should have read the usage of "force group" in more detail :)