[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clone ACL permissions



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 --archive --acls --dry-run somewhere/ somewhere-else

-- 
///  OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450
//  https://keys.openpgp.org/search?q=tlikonen@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen

Attachment: signature.asc
Description: PGP signature


Reply to: