Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i encounter a problem when troubleshooting rsync server and client.

rsync: opendir "/." (in pub) failed: Permission denied (13)
drwxr-xr-x        4096 2014/01/27 12:02:24 .
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1536) [generator=3.0.9]

My /etc/rsyncd.conf is as below.

max connections = 2
log file = /var/log/rsync.log
timeout = 300

    comment = random thing available for download
    path = /home/backup/test
    read only = yes
    list = yes
    uid = nobody
    gid = nobody
    auth users = admin
    secrets file = /etc/rsyncd.secrets

I have chmod 600 for both /etc/rsyncd.conf and /etc/rsyncd.secrets seeking for advice.

share|improve this question
@Janne is correct this is a permission issue, the user nobody doesn't have read permission to the test directory. – Iain Jan 27 '14 at 8:19

I guess the permissions for /home/backup or /home are too restrictive for nobody uid/gid. Please check those, too. It's not enough to have relaxed access to /home/backup/test if some earlier path prevents the access.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.