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

bug: xattrs not being tracked #118

Open
luna-xenia opened this issue Apr 26, 2024 · 2 comments
Open

bug: xattrs not being tracked #118

luna-xenia opened this issue Apr 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@luna-xenia
Copy link

What happened?

In krataoci-squashify, xattrs are not being tracked.

For example, with the image registry.gitlab.com/xenia-group/images/gnome-arch:main, the file /usr/bin/newuidmap will have the permissions -rwxr-xr-x when it should have -rws--x--x.

Version / Commit

v0.0.9

Relevant log output

No response

@luna-xenia luna-xenia added the bug Something isn't working label Apr 26, 2024
@kaniini
Copy link
Contributor

kaniini commented Apr 26, 2024

Technically the SUID bit is not an xattr, but you are likely correct that both SUID and xattrs aren't being tracked fully. We need to add that information to the VFS in order to ensure they make it to the squashfs.

@azenla
Copy link
Member

azenla commented May 14, 2024

I looked into this and realized that the tar library we use doesn't support all PAX extensions. I'm sort of at my wits end on tar libraries in Rust, especially since we need async support. It's all a mess, and we may have to innovate to make this possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants