Permission denied when running from xinetd

freightcar at gmail.com freightcar at gmail.com
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
[cvs1]
                path = /home/test
                auth users = user1
                secrets file = /etc/rsync-passwords.txt
                read only = yes
                list = yes
                uid = root
                gid = root



/etc/rsync-passwords.txt
user1:test


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


Thanks


More information about the rsync mailing list