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:
[EMAIL PROTECTED] ~]# ll /home/test -d
drwxrwxrwx 2 root root 4096 Nov 25 00:15 /home/test


Thanks
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to