-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote couldn't create file: Operation not permitted // adb: error: failed to read copy response #125
Comments
You must've run the script as root before, causing the temporary files to be removable only by root. Running this command in the script's directory should fix this: sudo rm -rfv backup-tmp |
I'm having the same issue Operating system: Arch Linux
|
It seems to be specifically related to permission for the 0/Android/ directory. I got past it by simply deleting the directories that wouldn't copy from the backup-tmp folder. Once I was past that directory everything copied as expected. It may be very brand dependent. |
I believe I'm trying to leave out the 0/Android directory. However, this contains lots of data that I would have liked to backup/restore. |
I have succeeded to restore all files by changing the I'm using adbsync from here https://github.com/jb2170/better-adb-sync |
Removing the directory that wouldn't copy worked fine. adb-sync would not restore even without the 'faulty' directory, I got a |
Manufacturer: xiaomi
Android version: 10
Custom ROM/rooted? no
Model: mi 9 lite
Operating system: fedora
getting error when restoring files
The text was updated successfully, but these errors were encountered: