Closed Alex1s closed 7 months ago
@mbentley Regarding your excitement of performance improvements: Have you considered to remove the acl_xattr
vfs_module
?
In general I was wondering is there exist a particular reason why/if this module is needed for
TimeMachine backups?
I checked the history with git blame about why that was added - it comes back to https://github.com/mbentley/docker-timemachine/issues/69. Not sure if it is still needed or not - haven't done any testing recently with any of the additional modules. I will say that https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X, which has been a useful reference over the years, does not refer to it.
Interesting, removing acl_xattr
actually resolved a backup issue I was having. Anyway, I am going to merge this because it works fine and doesn't change default behavior.
A friend of mine uses a smb.conf
without acl_xattr
and he never had problems with his backups.
I think, at least under normal circumstances, macOS does not use ACLs on any of the files/folders of the backup sparsebundle.
At least for me getfacl -sR "Alexis MacBook Pro.sparsebundle"
shows nothing.
If you are not connecting to the Samba server from Windows you do not need to store dos attributes. They are stored in the
user.DOSATTRIB
extended attribute. This PR adds the ability to control thestore dos attributes
option in the[global]
section using theSMB_STORE_DOS_ATTRIBUTES
environment variable. Per default this is set toyes
, and thus does not change any current installations.For more details refer to the documentation here.