Ok. I got some help from my friend Dan B. I'm posting his email response here for all!
first, you have to know that there are three ways you can manage perms on samba: via smb.conf, unix perms, and acl perms.
smb.conf assumes that unix perms and acls are completely open. if unix perms or acls are restrictive, then you are limited by those restrictions.
unix perms are useful for setting the group inheritance, the 2 in 'chmod 2777 /path' the files under /path will all be created with same group.
acls are by far the most powerful. You'll have to read up on them. here are some examples:
# reset all facls
# setfacl -R -b /path
setfacl -d --set u::rwx,g::rwx,o::rwx /data/nmcourts_public/
setfacl -R -m u::rwx,g::rwx,o::rwx /data/nmcourts_public/
You'll have to figure out the best combination of the above to do what you want.
hope that helps a bit.
|