On Sat, 14 Jun 2014, Kevin A. McGrail wrote:

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.

Retrying.

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

Uh. Dang. THanks for catching that.

Fingers crossed that this now works!

Regards,
KAM


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [email protected]    FALaholic #11174     pgpk -a [email protected]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  The ["assault weapons"] ban is the moral equivalent of banning red
  cars because they look too fast.  -- Steve Chapman, Chicago Tribune
-----------------------------------------------------------------------
 3 days until SWMBO's Birthday

Reply via email to