Re: How to set different permissions on target

2013-12-21 Thread Charles Marcus
Ok, thanks... On 2013-12-21 3:38 PM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Correct. It is a 3.1 feature. On 12/21/2013 03:31 PM, Charles Marcus wrote: On 2013-12-21 2:18 PM, Kevin Korb wrote: The current version of rsync does have a --chown option. So, by curren

Re: How to set different permissions on target

2013-12-21 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Correct. It is a 3.1 feature. On 12/21/2013 03:31 PM, Charles Marcus wrote: > On 2013-12-21 2:18 PM, Kevin Korb wrote: >> The current version of rsync does have a --chown option. > > So, by current you mean... 3.1.x? > > I have 3.0.9 (3.1 isn't st

Re: How to set different permissions on target

2013-12-21 Thread Charles Marcus
On 2013-12-21 2:18 PM, Kevin Korb wrote: The current version of rsync does have a --chown option. So, by current you mean... 3.1.x? I have 3.0.9 (3.1 isn't stable in gentoo yet), but --chown isn't in the man page for it... -- Best regards, */Charles/* -- Please use reply-all for most re

Re: How to set different permissions on target

2013-12-21 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The current version of rsync does have a --chown option. If you don't have the current version then the solution is simply to run rsync as that user and it will have no choice but to use that ownership. On 12/21/2013 01:42 PM, Charles Marcus wrote: >

How to set different permissions on target

2013-12-21 Thread Charles Marcus
Hi all, Ok, I'm attempting to rsync a large datastore (email), and want to change the ownership of the target directories and files. I saw the --chmod option in man rsync, but didn't see a --chown option... What I'd like to do is something like: rsync -avHP --chown vmail:vmail /mnt/old-mail/