1 Rsync error:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518)
According to the experience of others, rsync error: some files/attrs were not transferred and http://www.lingzhong.cn/tech/23765.htm
Method 1 is to modify the configuration file, and method 2 is to change the permissions.
The first one was a bit of a hassle, the second one was too much.
At this point, run the sync again,
linlf@ccrfox247:~/project/man$ ./transfer-cuda90.sh
[email protected]'s password:
sending incremental file list
rsync: send_files failed to open "/home/linlf/project/nohup.out": Permission denied (13)
sent 20,428,254 bytes received 232 bytes 1,634,278.88 bytes/sec
total size is 211,679,681,443 speedup is 10,361.99
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
List that file cannot be synchronized. The original owner and group of this file are root, but I synchronized the past user is a normal user, not root, so I reported an error.
ls -lh /home/linlf/project/nohup.out
-rw------- 1 root root 207K 6月 14 17:27 /home/linlf/project/nohup.out
It’s also easy to change the file permissions to my own:
sudo chown linlf /home/linlf/project/nohup.out
sudo chgrp linlf /home/linlf/project/nohup.out
Finally, modify the permissions of the folders to be synchronized altogether:
sudo chown -R linlf /home/linlf/project
sudo chgrp -R linlf /home/linlf/project
Re-run the script:
rsync -avz /home/linlf/project [email protected]:/home/linlf
Done
Read More:
- Solution: Rsync error: some files could not be transferred (code 23) at main. C (702)
- Android studio “sync project with gradle files” button disappears
- Manifest merger failed with multiple errors, see logs
- Android Studio error “Manifest merger failed with multiple errors, see logs” solution
- Manifest merger failed with multiple errors, see logs [How to Solve]
- Solutions to errors in XML files
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Completely solve install_ FAILED_ UPDATE_ Incompatible installation error, the installation package is not consistent with the previous installation package signature on the device
- Solution: vs2017 cannot open header files such as stdio. H main. H
- Could not sync socket: %1
- Gradle sync failed: Sync failed: reason unknown
- Linux mounting errors (Error mounting /dev/sda8 at /media)
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Job for network.service Failed because the control process exited with error code. See “SystemC
- [Solved] Incompatibile SockJS! Main site uses: “1.5.0”, the iframe: “1.0.0”. at s (VM6 sockjs.min.js:2) version issue
- ESP8266 Chip sync error esp_sync_blocking.
- The template tags of all vscode Vue files report errors in red~
- AS3.5 Error gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work
- Xcode: error: linker command failed with exit code 1(use -v to see invocation) or libstdc++.6.0 is missing