rsync icon indicating copy to clipboard operation
rsync copied to clipboard

rsync xattr not copying the +F flag (casefold)

Open arabek opened this issue 5 years ago • 1 comments

Rsync ignores the +F flag while copying flags using -avX options.

[ arab: ~ ]$ lsattr ~/.wine/drive_c/
--------------e--F---- /home/arab/.wine/drive_c/Program Files
--------------e--F---- /home/arab/.wine/drive_c/ejay
--------------e--F---- /home/arab/.wine/drive_c/ProgramData
--------------e--F---- /home/arab/.wine/drive_c/windows
--------------e--F---- /home/arab/.wine/drive_c/users
--------------e--F---- /home/arab/.wine/drive_c/Program Files (x86)
rsync -avX /home/arab/.wine/. /home/arab/.wine2/.
[ arab: ~ ]$ lsattr /home/arab/.wine2/drive_c/
--------------e------- ./ProgramData
--------------e------- ./Program Files
--------------e------- ./windows
--------------e------- ./users
--------------e------- ./ejay
--------------e------- ./Program Files (x86)

Expected result: the flag +F should be copied aswell.

ext4 filesystem was modifed with: tune2fs -O casefold /dev/nvme0n1p4 which points to /home while it was unmounted

arabek avatar Mar 14 '21 13:03 arabek

I'm having the same issue with the "i" flag (immutable). Are they copied at all?

By the way, these are not xattrs, but file attributes (https://en.wikipedia.org/wiki/File_attribute).

Eucyon avatar May 24 '23 09:05 Eucyon