Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The following error happened with a rsync task.

rsync: send_files failed to open "/home/user/scripts/@eaDir/script.js@SynoEAStream": Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]

I cannot tell whether it stopped the process or whether only the file was skipped. I would like to let rsync continue in any case and just output the error protocol. Is this possible?

share|improve this question
1  
rsync will continue to execute if a permission denied error is encountered. The code 23 error you're getting is just a summary report that errors were encountered –  Saggio Jul 25 at 20:49
    
Is there any documentation for the behavior you could refer to? –  JJD Jul 28 at 18:37
    
I can't find anything in the official rsync documentation, just a few forum posts (and personal experience) that confirm this functionality. The reason why there are 2 errors (send_files failed and some files/attrs...) is because the first one is the error for that file that gave a permission denied error, the second one is just a summary error saying that some files failed to copy (because running this in the command line it can be extremely easy for the actual error to go off of the screen). –  Saggio Jul 28 at 21:48
    
OK. Please add a full answer so I can grant you the answer flag and close the question. –  JJD Jul 29 at 8:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.