[Samba] Group

Gokan Atmaca linux.gokan at gmail.com
Sun Sep 14 03:49:20 MDT 2014


How can I give permissions based on the groups SAMBA. ?

for example:
mkdir -p /fileserver/sales
useradd -m sample-u1
smbpasswd -a sample-u1
groupadd sales
chgrp -R sales /fileserver/sales


comment = sales
browseable = yes
path = /fileserver/sales
valid users = @sales
force users = @sales
force group = @sales
write list = @sales
writable = Yes
readonly = No
create mode = 0770
directory mode = 0770

More information about the samba mailing list