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

mksquashfs/sqfstar: add -uid-gid-offset <value> #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aconz2
Copy link

@aconz2 aconz2 commented Oct 22, 2024

Adds to every entry in the id table.
Useful when building container rootfs that will be used with a uid/gid map such that eg file with ownership 0/0 will become 1000/1000 with -uid-gid-offset 1000

Could also be done with idmap mount in 6.2+ or by modifying the tar archive. Not sure this fits upstream but figured I'd offer. Thanks!

Adds <value> to every entry in the id table.
Useful when building container rootfs that will be used with a
uid/gid map such that eg file with ownership 0/0 will become
1000/1000 with -uid-gid-offset 1000
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

Successfully merging this pull request may close these issues.

1 participant