rsync works fine when I'm root on the client, but not as a non-root user

John Van Essen vanes002 at umn.edu
Wed Dec 8 23:57:28 GMT 2004


On Wed, 8 Dec 2004, Grant Carmichael <grant at evanced.net> wrote:
>   
> With a non root user, ssh will authenticate them, but then the rsync
> process dies.
...   
> My config file looks like:
>   
> uid = nobody  
> gid = nobody  
> use chroot = no  
> max connections = 5
> syslog facility = local5
> pid file = /var/run/rsyncd.pid/
> log file = /etc/rsync.log

Can a non-root user write to the paths that you specified for the pid
and log files?  Prolly not.  That's why rsync dies so quickly.

Create a rsyncd.conf file in your home directory that uses paths that
you can write to.  Also - since the specified uid and gid directives
will not work for a non-root user, leave those out.

    John



More information about the rsync mailing list