Commit faeab50e replaced perm_copy_file() with perm_copy_path() wrapper that uses perm_copy_fd() underneath. perm_copy_file() copies both access + default ACLs. According to the libacl maintainer, perm_copy_fd() only copies access ACLs, thus loosing admin-configured ACL policies.
Possible fix
Revert perm_copy_path() back to perm_copy_file() for directories/special files, keeping perm_copy_fd() only for regular files.
Another possible fix
Migrate to gnulib modules and use get-permissions and set-permissions instead.
Commit faeab50e replaced
perm_copy_file()withperm_copy_path()wrapper that usesperm_copy_fd()underneath.perm_copy_file()copies both access + default ACLs. According to the libacl maintainer,perm_copy_fd()only copies access ACLs, thus loosing admin-configured ACL policies.Possible fix
Revert
perm_copy_path()back toperm_copy_file()for directories/special files, keepingperm_copy_fd()only for regular files.Another possible fix
Migrate to gnulib modules and use get-permissions and set-permissions instead.