Skip to content

rsync xattr not copying the +F flag (casefold) #165

@arabek

Description

@arabek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions