Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm trying to setup an rsync server on my Ubuntu machine. Transfer from a local PC to the server via rsync does work, but the resultant uploaded files have no r,w or x bits set, e.g.

---------- 1 fredb fredb    0 Aug 30 20:50 sk_upgrade_20120830_033450.txt
---------- 1 fredb fredb    0 Aug 30 20:50 sk_user_20120827_184534.txt
---------- 1 fredb fredb    0 Aug 30 20:50 sk_user_20120830_033450.txt

My rsyncd.conf file is:

motd file = /etc/rsyncd.motd

path = /tmp
comment = rsync server
uid = nobody
gid = nobody
read only = false
auth users = fredb
secrets file = /etc/rsyncd.scrt

How can I get the target files permissions correct? Also once I've solved this problem how can I transfer without a password?

TY, Fred

share|improve this question
Removing the password is easy, just remove auth users and secrets file from the configuration (and use some other way to protect rsync from stray people). The question of why you are ending up with 0 byte files with no permissions is hard. Is the "local PC" windows based? – DerfK Aug 31 '12 at 1:01

Your Answer


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

Browse other questions tagged or ask your own question.