[Samba] chown destroys ACLs

Klaus Hartnegg hartnegg at gmx.de
Tue Jul 15 06:24:20 MDT 2014


Hi,

Is it normal that "chown $user $file" and "chown :$group $file" destroy 
the Windows-ACLs?

Is it normal that changing the file owner in Windows does not change the 
file owner in Linux, but changing the file owner in Linux does change 
the file owner in Windows?

This should be mentioned in
> https://wiki.samba.org/index.php/Setup_and_configure_file_shares_with_Windows_ACLs

I'm using samba 4.1.6 of Ubuntu 14.04 with "server role = classic 
primary domain controller". File system is ext4, it is mounted with 
options acl,user_xattr, and the file smb.conf does contain the three 
entries
fs objects = acl_xattr
map acl inherit = Yes
store dos attributes = Yes

thanks,
Klaus


More information about the samba mailing list