Permission denied when running from xinetd

freightcar at freightcar at
Sun Nov 25 22:37:27 GMT 2007

Hey folks,

When I run rsyncd from xinetd and try to rsync I will get permission
denied error:

rsync: chdir /home/test failed : Permission denied (13)

If I shutdown xinetd and start standalone daemon ( rsync --daemon
--config /etc/rsyncd.conf) everything works as expected.

This is my xinetd config for rsync:
service rsync
        disable = no
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/bin/rsync
        server_args     = --daemon
        log_on_failure  += USERID

This is my rsyncd.conf

strict modes = false
use chroot = false
max verbosity = 3
                path = /home/test
                auth users = user1
                secrets file = /etc/rsync-passwords.txt
                read only = yes
                list = yes
                uid = root
                gid = root


permissions for the directory:
[root at centos1 ~]# ll /home/test -d
drwxrwxrwx 2 root root 4096 Nov 25 00:15 /home/test


More information about the rsync mailing list