Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i like to backup my linux based NAS (small files like picutres) to an attached USB Disk with FAT32. For this i like to use rsync.

I know, that this will not work correct per default. rsync will sync the files again and again. I found this question and answers: How can I use rsync with a FAT file system?

But, even if I use the --modify-window=1 and --size-only option, all files are processed again. The log looks like, rsync tries to set permission/ownership on fat32, which will fail. rsync: chown "<filename>" failed: Operation not permitted (1)

Question is: is there a way to disable the "chown" command?

//Edit:

currently I use the following command: rsync -a --modify-window=1 --size-only /data/ /mnt/backup/. &

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Just don't use the options for syncing owner/group. If you are using the --archive/-a option this includes those two, so instead specify the flags individually and leave those out. Check the man page for a list of what --archive implies.

share|improve this answer
    
Thank you. -a stands for -rlptgoD looking at the man-pages, so I have to remove pfor permissions g for group and o for ownership. So -rltD are the options, I have to use. And it works. –  The Bndr Jan 17 '13 at 15:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.