rsync synchronization error cwrsync rsync error rsync error: some files and attrs were not transferred solution

  • 2020-05-09 19:38:28
  • OfStack

I found this problem twice 1 straight thought it was a server problem, because on 1 machine appeared this problem, the original in order to secure the special cancellation of the file write and modify permissions. Through the modification permission of mcafee, the problem is solved, so there is a problem, first check the directory permission problem.

rsync error: some files/attrs were not transferred (see previous errors)
cwrsync rsync error failed: Invalid argument

cwrsync ACTS as a server on the windows system

rsync as client on linux system (pushing files to windows terminal where cwrsync is located)
Error:
rsync error: some files/attrs were not transferred (see previous errors)
failed: Invalid argument (22)

Solutions:

1. Discontinue windows cwrsync service
2. Edit E:\Program Files\ICW\etc\fstab file (cwrsync installation path)
Add 1 line at the end of the file:
e:/shentest ntfs override,binary,noacl 0 // confirm that the e disk shentest folder has been created
3. Modify the rsync.conf profile (e.g., send shentest from windows to e drive to linux).

[2011test]
path = /cygdrive/e/shentest
transfer logging = yes
ignore errors
read only = false

4. Save the file and restart the cwrsync service on windows

5. Test whether rsync synchronous push is successful on linux

One thing to note:

If linux is synchronized to windows, the parameter -vaz cannot be used, otherwise the folder will only be accessible by rsync and not by windows users
Mine goes like this:
rsync test.txt --delete 1.1.1.1::2011test

Related articles: