File/Folder Ownership - Cygwin/Rsync - Is it possible to get around rsync taking file ownership?

Wayne Davison wayned at samba.org
Wed Jul 25 20:04:56 GMT 2007


On Wed, Jul 25, 2007 at 11:57:15AM -0700, jhurd8025 wrote:
> The only way around this would be to use the rsyncd which runs as root, and
> is not possible (security wise) in our enviroment.

If the receiving rsync isn't running as root (or whatever the super-user
is), then it is impossible for it to create files owned by anyone other
than the rsync user no matter what you do, since that is an OS security
restriction.  (See also the --fake-super option in the upcoming 3.0.0.)

..wayne..


More information about the rsync mailing list