Skip to content
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

Hide the "user.WofCompressedData" xattr #5

Open
samhocevar opened this issue May 15, 2018 · 1 comment
Open

Hide the "user.WofCompressedData" xattr #5

samhocevar opened this issue May 15, 2018 · 1 comment

Comments

@samhocevar
Copy link

I would like to copy files across NTFS partitions using rsync -X (which is supposed to preserve xattrs). I expect the plugin to decompress files on the source partition, so that they are written uncompressed on the target partition. However this does not work because Linux cannot handle the user.WofCompressedData xattr. Even the xattr utility cannot properly read attributes on compressed files.

Here is for instance what happens when doing xattr '/c/Program Files (x86)/windows nt/accessories/wordpad.exe' on a Win10 partition. For some reason the attribute user.WofCompressedData always has size 65536, which is illegal on Linux (XATTR_SIZE_MAX is 65536).

listxattr("/c/.../wordpad.exe", NULL, 0) = 23
listxattr("/c/.../wordpad.exe", "user.WofCompressedData\0", 23) = 23
getxattr("/c/.../wordpad.exe", "user.WofCompressedData", NULL, 0) = 65536
getxattr("/c/.../wordpad.exe", "user.WofCompressedData", 0x189ac60, 65536) = -1 E2BIG (Argument list too long)

Could there be a way for the system compression plugin to hide this attribute? Or is this a task for ntfs-3g instead?

@ebiggers ebiggers changed the title getxattr() issues Hide the "user.WofCompressedData" xattr Nov 28, 2019
@marcosfrm
Copy link

Ping?

Repository owner deleted a comment from Art2539 Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants