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

jhurd8025 texasjhurd at
Wed Jul 25 16:20:04 GMT 2007

Thanks for the options, tried the below options with no luck.

This happened to me but im on unix platform. The options may still work for

-PaRz --quiet --stats --delete --delete-excluded --copy-unsafe-links

The numeric ids option keeps the permissions the same on unix as they are on
the source machine. 

jhurd8025 wrote:
> Case point: 2 Servers (both with Windows Server 2k3 & cygwin). Running ssh
> on the destination server.
> Problem: The rsync user will take ownership over any files copied over
> from the source server. This takes ownership away from the administrators
> group, thus disallowing inherited permissions.
> Is there any way around not taking ownership away from the administrators
> group and giving it to the rsync user?
> I've seen this done with the cwRsync package, but unfortunately our
> security group will allow the base cygwin packages. Any help is much
> appreciated!

View this message in context:
Sent from the Samba - rsync mailing list archive at

More information about the rsync mailing list