an unwanted chroot() call

jw schultz jw at
Fri Nov 14 02:12:40 EST 2003

On Thu, Nov 13, 2003 at 09:51:51AM -0500, Joe Batt wrote:
> Would it help if rsync detected whether it is run as root or not and
> enable or disabled these features automatically (with warnings).  I've
> wasted lots of time trying to get rsync to work in userland due to
> safety checks like this (my case was --link-dest assuming -ugp), though
> I understand why rsync defaults to very safe use for root.  Maybe more
> warnings to stderr would help.

He did get an error message.  In your case it was a bug that
has been fixed so warnings wouldn't have been issued in any

To address the general thrust of your suggestion, silence is
golden.  Rsync does report errors but unless disabling
features that were explicitly enabled that would be excessive
chattiness that would annoy people who know what they are
doing.  Perhaps at some future date it could be a debug flag
if my selective reporting gets added.

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt

More information about the rsync mailing list