I found this problem twice and thought it was a server problem because a machine encountered this problem. For security purposes, I canceled the permission to write and modify files. You can solve the problem by modifying the permission of mcafee. In this case, check the directory permission first.
Rsync error: some files/attrs were not transferred (see previous errors)
Cwrsync rsync error failed: Invalid argument
Cwrsync serves as a server on windows
Rsync serves as a client on linux (push files to the windows end where cwrsync is located)
Error:
Rsync error: some files/attrs were not transferred (see previous errors)
Failed: Invalid argument (22)
Solution:
1. Stop the windows cwrsync Service
2. Edit the E: \ Program Files \ ICW \ etc \ fstab file (cwrsync installation path)
Add a line at the end of the file:
E:/shentest ntfs override, binary, noacl 0 0 // confirm that the edisk shentest folder has been created
3. Modify the rsync. conf configuration file (for example, push the shentest of the edisk in windows to linux .)
[2011 test]
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 push is successful in linux.
Note:
The parameter-vaz cannot be used for synchronization from linux to windows. Otherwise, only rsync can be used for folder access, and windows users cannot access the folder.
My website is as follows:
Rsync test.txt -- delete 1.1.1.1: 2011 test