On 12/16/2014 08:45:15 PM, Kevin Korb wrote: > Only root can chown. If rsync isn't running as root then it ignores > the --owner part of --archive. This also makes --numeric-ids inert. > > Simply put, if you aren't running as root then you can only create > files owned by your UID. Rsync knows this. Rsync assumes that if > you > aren't root you didn't intend the --owner (or --group) part of > --archive and it ignores those features.
Rsync has enough options that it seems it can be smarter than it's users. It could be worth adding a --stupid option to tell rsync to be stupid and complain instead of doing smart things. This would help people diagnose just what rsync is doing. I'm sure this is a lot more work than it sounds. There might be better ways of reporting what's happening than by complaining. A displayed table of which options are on/off or have what value comes to mind. (Too bad that --stupid would not be the right option name for this. :-) Just a thought. Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html