[Samba] Setting ACL permissions from Windows

TAKAHASHI Motonobu monyo at monyo.com
Tue Feb 1 08:24:45 MST 2011


2011/2/1 Michele Petrazzo - Unipex <michele.petrazzo at unipex.it>:
> parker ha scritto:
>> but I still can't Set permissions. I have tried
>>
>> to create directories under the main share using windows. That works, but
>> when I try to set their permissions I get "Unable to save permission
>> changes
>> on (folder). The
>> parameter is incorrect."

Does your "set permissions" mean to add an ACL entry or to change
settings of existing ACL entry inherited from UNIX permissions?

> if you have ext3/4, enable acl and user_xattr on mount end (mount -o
> acl,user_xattr,remount /usr/local/data),

(snip)
> on a share, enable:
> inherit acls = yes

You do not need to set "inherit acls", which works to set the permissions of
newly created files from the default ACL of parent directory.

---
TAKAHASHI Motonobu <monyo at monyo.com>


More information about the samba mailing list