Re: handling of uid= parameter (was Re: files can only be read when world-readable)

2001-03-19 Thread Dave Dykstra
On Sat, Mar 17, 2001 at 01:03:24PM +1100, Martin Pool wrote: > So, I see that in clientserver.c, the uid and gid parameters are > silently ignored if the daemon is not running as root. I wonder if we > should do something differently there. Perhaps rsync should issue a > warning if they're prese

handling of uid= parameter (was Re: files can only be read when world-readable)

2001-03-16 Thread Martin Pool
So, I see that in clientserver.c, the uid and gid parameters are silently ignored if the daemon is not running as root. I wonder if we should do something differently there. Perhaps rsync should issue a warning if they're present and we're not root. Better might be to go ahead and try to setuid