Hi all,

I'm running the following rsync job via cron:

rsync --recursive --compress --human-readable --progress --update
--perms --chmod=a-w -e "ssh -i /rsync-key"
[EMAIL PROTECTED]:/source_dir/ /target_dir

rsync: failed to set permissions on "/target_dir/.": Operation not
permitted (1)
rsync: failed to modify permissions on "/target_dir/.": Operation not
permitted (1)
rsync: failed to set permissions on "/target_dir/.": Operation not
permitted (1)
rsync error: some files could not be transferred (code 23) at
main.c(1385) [generator=2.6.9]

The rest of the files are rsync-ed correctly.

Do I need to leave off the trailing slash on the target dir? I don't
actually want to touch this directory, just rsync its contents...

Any thoughts?

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to