I have backed up my data previously using
rsync -avz on my late Linux Mint installation. Now when I try to backup my data with the same command on Windows 10 Ubuntu subsystem, the rsync just ignores my destination files and tries to copy all the files from source to destination. I also get 2 different error messages on multiple files:
rsync: chgrp "/mnt/p/file" failed: Operation not permitted (1)
rsync: mkstemp "/mnt/p/file" failed: Operation not permitted (1)
I don't really care about permissions, all I want to do is backup my data to external hard drive.
I tried to google a solution for this, but none of these helped:
sudo chown -R user:user /mnt/p # No effect
rsync -rlptgoD --chmod=ugo=rwX # Throws same errors and does not copy any files at all
rsync -avz --no-o --no-g --no-perms # Throws errors "failed to set times on"
I tried one more provided option:
rsync -rtDvz, it throws
rsync: failed to set times on "/mnt/p/file": Operation not permitted (1) on every file. The transfer also takes super long time, since it tries to modify all the files even though it is not able.
I also noticed one new thing, when I run the command
sudo chown -R user /mnt/p and check the file permissions with
ls -l p, it shows that all the file permissions are
root root. For some reason I can't change the file permissions on my external hard drive files.
Oh yeah and I should have told you that I am trying to backup data to external USB stick which is Fat32 file system... Sorry! I don't always realize what stuff is important and what is not when asking questions.