[Samba] Posix vs. Windows File/Directory Permissions

Rowland Penny rowlandpenny at googlemail.com
Wed May 13 09:41:56 MDT 2015


On 13/05/15 16:32, Sébastien Le Ray wrote:
>
> Le 13/05/2015 17:29, Rowland Penny a écrit :
>>
>> If you set the acls on a Unix directory with 'chmod' and then set an 
>> ACL with 'setfacl', you will not change the Unix acls, that is, if 
>> the acls are set to '775' and you then set the ACL for a user with 
>> 'setfacl', the Unix acl will still read '775' or 'rwxrwxr-x' , what 
>> will change is a '+' sign will appear at the end of the acl.
>
> you don't set unix acl with chmod, you set unix file perms. To set 
> unix ACLs you use setfacl…
>
> Regards

a = access
c = control
l = list

access control list OR permissions

lower case for UNIX,
UPPER CASE for Windows

same thing really, just a different way of putting it

But no matter how you put it, using 'setfacl' will not alter the output 
of 'ls -la' apart from adding a '+' sign.

Rowland


More information about the samba mailing list