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() (when available), so it should work fine as a setuid program. Your other alternative would be to edit the 2.6.0 code to use geteuid() instead of getuid(). ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html