Re: requesting help setting share permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This:
================================
chgrp "GRP\sales" /opt/group/sales
chmod 0770 /opt/group/sales

if you already have a bunch of directories and files use find with
xargs to properly set the permissions
================================
With this:
================================
[sales]
       comment = Sales files
       path = /opt/group/sales
       valid users = @"GRP\sales"
       force group = "GRP\sales"
       create mask = 0660
       directory mask = 0770
       nt acl support = No
       inherit permissions = No
================================
Works fine in Samba 3.6.5, don't know about possible behavior changes
with that old 3.3.3.

Or you can use SGID as Dale suggested instead of "force group".

Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Linux]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux