Squashfs mount doesn't work #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Code defect - squashfs is not mounted when used with overlay
Mounting SquashFS images requires elevated privileges on most Linux systems. This is a limitation of the kernel itself — mounting a filesystem like SquashFS, even in read-only mode, is not permitted for unprivileged users, even inside a user namespace.
Unlike OverlayFS (which can work in rootless mode with the right kernel configuration), SquashFS is a filesystem driver, and using it always requires CAP_SYS_ADMIN within the relevant mount namespace.
This means that rootless users cannot mount SquashFS directly unless:
To maintain the rootless and minimalist philosophy of ljexec, we're considering introducing a dedicated setuid helper tool with a very narrow purpose:
This would:
We’re actively working on a prototype that:
Test case: