rsync server, uploaded files permissions incorrect
Posted
by
fred basset
on Server Fault
See other posts from Server Fault
or by fred basset
Published on 2012-08-30T21:01:49Z
Indexed on
2012/08/30
21:40 UTC
Read the original article
Hit count: 224
rsync
|ubuntu-12.04
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 [workspace] 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
© Server Fault or respective owner