On 6/13/2014 8:00 PM, John Hardin wrote:
On Fri, 13 Jun 2014, Kevin A. McGrail wrote:

Rsync is using a secrets file and is not tied to the system users.

OK, yes, I can get in, however there are errors:

sending incremental file list
./
rsync: failed to set times on "/." (in mailcorpus_jhardin_fraud): Operation not permitted (1)
corpus_ham_fraud.mbox
       35012 100%   32.72MB/s    0:00:00 (xfer#1, to-check=3/5)
ham/
rsync: failed to set permissions on "/ham" (in mailcorpus_jhardin_fraud): Operation not permitted (1)
spam/
rsync: failed to set times on "/spam" (in mailcorpus_jhardin_fraud): Operation not permitted (1)
spam/corpus_spam_fraud.mbox
   132296034 100%   21.37MB/s    0:00:05 (xfer#2, to-check=0/5)
rsync: rename "/.corpus_ham_fraud.mbox.t45WGK" (in mailcorpus_jhardin_fraud) -> "corpus_ham_fraud.mbox": Operation not permitted (1)

sent 675882 bytes  received 80485 bytes  116364.15 bytes/sec
total size is 132331046  speedup is 174.96
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]


Thanks for testing this. These permissions on the server are just crap. Unraveling what they did and why is difficult when it's an anathema to me to use chmod 777 to fix things.

For the time being, I've changed the ownership to the rsync user which works from my testing.

Additionally, you are putting your ham mbox file in the root and NOT in the ham subdir for your rsync.

Fingers crossed that this now works!

Regards,
KAM

Reply via email to