Continuing the discussion from Create a new sharedFolder UI plugin for WEB Settings:
One limitation of the current handling of Posix ACLs in the Shared Folder page is the “Reset permissions” action.
If there were some special permissions set by a Windows network client through Samba, “Reset permissions” clears them. Only default permissions and settings from ACL tab are retained.
I was wondering if we could add a new feature consisting of
- a new button,
Take ACL snapshot, that stores the actual Posix ACL into a file (by running getfacl?)
- restoring Posix ACLs from the snapshot file during “Reset permissions”
The benefit of this new feature is: the admin can shape the permissions at his desire.