[TriLUG] Samba question
Greg Brown
gwbrown1 at gmail.com
Wed Dec 13 09:31:52 EST 2006
Had anyone tried to set up a Samba share in the following manner:
/data1 (shared to all employees. used as a general place where everyone can
dump files)
/data1/marketing (where only employees that are defined in the group
marketing (in /etc/groups) can access the share?)
This seems it should be possible. However this was tried in practice users
defined in the /etc/groups group for marketing will lose connectivity to the
/data1/marketing share occasionally. Does anyone have a restrictive
directory shared from within a general access shared directory working
properly?
Would it be easier to just define the users instead of using groups (like
the following example)?
[marketing]
comment = Marketing
path = /data1/marketing
valid users = mary fred
public = no
writable = yes
printable = no
create mask = 0765
Greg
More information about the TriLUG
mailing list