[Samba] ACLs on Samba share not preserved when copying with Windows Explorer

Rowland Penny rowlandpenny241155 at gmail.com
Wed Aug 12 06:46:53 UTC 2015


On 11/08/15 22:01, Andrew Martin wrote:
> ----- Original Message -----
>> From: "Rowland Penny" <rowlandpenny241155 at gmail.com>
>> To: samba at lists.samba.org
>> Sent: Tuesday, August 11, 2015 2:19:09 PM
>> Subject: Re: [Samba] ACLs on Samba share not preserved when copying with Windows Explorer
>>
>> Hi, is the share stored on a standalone server or an AD member server or
>> what ?
>>
>> Not that this should matter, your problem is most likely caused by you
>> using ACLs and trying to enforce Unix permissions. You should use one or
>> the other, not both.
>>
>> Oh, and you don't have to use the 'acl' mount option with ext4, it is
>> one of the 'defaults'
>>
>> Rowland
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
> Hi Rowland,
>
> This Samba 3 server is joined to a Samba 4 AD domain using winbind.
>
> Can you elaborate on how I am attempting to enforce UNIX permissions?
> As far as I am aware, I am only setting the necessary octal bits in
> order to be able to configure the POSIX ACLs.
>
> Thanks,
>
> Andrew
>

Hi Andrew, Unix permissions == POSIX ACLs i.e the rwx bits you get from 
ls -la /some/directory_or_file. You need to use either POSIX ACLs or set 
the permissions from windows (or with setfacl), do not try and mix them 
as you are doing.

Rowland




More information about the samba mailing list