Skip to content

mksquashfs root owned instead of nobody - #310

Merged
bcumming merged 1 commit into
mainfrom
allroot
Nov 7, 2026
Merged

bcumming merged 1 commit into
mainfrom
allroot

Conversation

@simonpintarelli

@simonpintarelli simonpintarelli commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Instead of nobody, use uid,gid 0 for mksquashfs.

With the setuid squashfs-mount, files will show as root owned. With the fuse backend, the files will appear under the user uid,gid. This allows to put a fuse-overlayfs on top and modify the install tree with spack.

use uid,gid 0 for sqfs. Widh the squashfs-mount setuid files will show as root
owned. With the fuse backend, the files will appear under the user uid,gid. This
allows to put a fuse-overlayfs on top.
@simonpintarelli simonpintarelli changed the title mksquashfs as root instead of nobody mksquashfs root owned instead of nobody Nov 5, 2026
@simonpintarelli

Copy link
Copy Markdown
Member Author

-all-root is actually not required for fuse-overlayfs, there is -o squash_to_ui/gid option.

@bcumming
bcumming merged commit 1132b63 into main Nov 7, 2026
4 checks passed
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.

2 participants