* 2021-09-12 12:43:29+1200, Richard Hector wrote: > The context of my question is that I'm creating (or updating) a test > copy of a website. The files are owned by one of two owners, depending > on whether they were written by the server (actually php-fpm). > > To do that, I want all the permissions to remain the same, but the > ownership should be changed according to a provided map. Looks exactly like what "rsync --usermap=FROM:TO" can do. There is also "--groupmap" option for mapping groups. -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
Attachment:
signature.asc
Description: PGP signature