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 here. rsync --verbose

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