Feature request: save-as-user

Quey qms01 at optusnet.com.au
Sat Sep 13 07:58:57 GMT 2008


Hi Wayne,

Fantastic, patch works a treat, thanks!
+1 to commit to 3.1.0 release :)


On 13/09/08 11:39:46, Wayne Davison wrote:
> On Sat, Sep 13, 2008 at 07:10:53AM +1000, Quey wrote:
> > maybe something like a --chown user.group
> 
> There is a diff in the patches directory that allows you to do  
> this.
> If you apply patches/usermap.diff, you can use a command like this:
> 
> rsync -av --usermap=*:someuser --groupmap=*:somegroup /src/ /dest/
> 
> That's not nearly as succinct (due to these options having a lot
> more
> flexibility in affecting the users and groups than a single forced
> setting), so perhaps a built-in option alias would be a good idea
> for
> the simple case (one that would map --chown=someuser:somegroup to  
> be
> the same as the above two options).
> 
> This is one of the patches that I'm leaning towards adding to  
> 3.1.0.
> 
> ..wayne..
> 


More information about the rsync mailing list