I'm setting up an rsync daemon/client system, and I keep running into a "Permission denied (13)" error. Here's my server-side configuration file:
log file = /tmp/rsync.log timeout = 300 #port = 2049 [public] path = /mnt/public read only = false list = yes uid = nobody gid = nobody auth users = public secrets file = /etc/rsyncd.secrets use chroot = false
The folder in question is rwx for all users, and the folder is owned by user=nobody. Permission is denied regardless of which direction the transfer is going. The password is accepted, so it's not an authentication issue.
When I try to transfer a file from the server to client, the command looks like
rsync rsync://public@<server>/public/msg.txt .
Where is my server. The exact error is
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1816) [Receiver=3.2.3] rsync: link_stat "msg.txt" (in public) failed: Permission denied (13)
When I try to transfer a file from the client to the server, the command looks like
rsync msg.txt rsync://public@<server>/public/msg.txt
and the exact error looks like
rsync: ERROR: cannot stat destination "msg.txt" (in public): Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at main.c(635) [Receiver=3.1.2]
I'd be grateful for any advice.