Re: clone ACL permissions

2019-07-23 Thread Adam Weremczuk
On 23/07/19 12:20, Thomas Schmitt wrote: Hi, consider this from man setfacl: --restore=file Restore a permission backup created by `getfacl -R' or similar. All permissions of a complete directory subtree are restored using this mechanism. If the input contains owner

Re: clone ACL permissions

2019-07-23 Thread Teemu Likonen
Adam Weremczuk [2019-07-23T11:42:00+01] wrote: > Is it possible to "clone" ACL permissions? > > I.e. recursively read ACL (getfacl?) on all files and folders and > write (setacl?) to the same list of files and folders elsewhere? Maybe rsync's -A/--acls option is useful

Re: clone ACL permissions

2019-07-23 Thread Thomas Schmitt
Hi, consider this from man setfacl: --restore=file Restore a permission backup created by `getfacl -R' or similar. All permissions of a complete directory subtree are restored using this mechanism. If the input contains owner comments or group comments, setfacl at

clone ACL permissions

2019-07-23 Thread Adam Weremczuk
0:rwx default:group:301:r-x default:group:302:rwx default:group:303:r-x default:mask::rwx default:other::--- There are no trivial permissions patterns to follow so manual reconciliation would take very long and be error prone. QUESTION: Is it possible to "clone" ACL pe