Sorry if this is the wrong place to put this, I'm quite the Linux noob. Basically I'm using the following:
CentOS Linux server
Windows 7 home computer
I'm trying to use DeltaCopy Client (RSync wrapper for Windows) to sync a file up to my server. RSync is running on my server as root, and I have made sure I chown the folder I'm uploading to, and I can create directories/files no problem on that account. However I'm getting this error with RSync:
QUOTE
Executing: rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/C/TestFile" "<User>@<Server>::upload/TestFile"
building file list ...
done
TestFile
rsync: mkstemp "/.TestFile.CtM2Er" (in upload) failed: Permission denied (13)
sent 40381 bytes received 38 bytes 11548.29 bytes/sec
total size is 90112 speedup is 2.23
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1040) [sender=3.0.4]
Partial transfer due to error
Rsync.exe returned an error. Will try again. This is retry number 2 of 5
building file list ...
done
TestFile
rsync: mkstemp "/.TestFile.CtM2Er" (in upload) failed: Permission denied (13)
sent 40381 bytes received 38 bytes 11548.29 bytes/sec
total size is 90112 speedup is 2.23
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1040) [sender=3.0.4]
Partial transfer due to error
Rsync.exe returned an error. Will try again. This is retry number 2 of 5
The "upload" is the virtual directory I'm using.
My RSyncd.conf is as follows:
QUOTE
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[upload]
path = /var/www/html/Files
comment = Comment!
uid = nobody
gid = nobody
read only = no
list = yes
auth users = <User>
secrets file = /etc/rsyncd.scrt
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[upload]
path = /var/www/html/Files
comment = Comment!
uid = nobody
gid = nobody
read only = no
list = yes
auth users = <User>
secrets file = /etc/rsyncd.scrt
Does anyone have any idea what I'm doing wrong? Thanks!