setuid rsync

2004-02-26 Thread Daniel S. Cohen
/yesterday/ source server:/backup/machine/today/ Anyone have any ideas why the setuid rsync is not perserving ownership? Any help or suggestions would be greatly appreciated. Thanks, Dan - -- PGP Key: http://machine.technocraft.com/~dsc/pgpkey.html - -- -BEGIN PGP SIGNATURE- Version: GnuPG

Re: setuid rsync

2004-02-26 Thread Wayne Davison
On Thu, Feb 26, 2004 at 07:30:47PM -0600, Daniel S. Cohen wrote: Anyone have any ideas why the setuid rsync is not perserving ownership? Because rsync doesn't realize it is root, so it doesn't try to chown anything. Try the CVS version -- I changed it recently to use geteuid() and getegid