vasi / squashfuse

FUSE filesystem to mount squashfs archives
Other
288 stars 66 forks source link

Add low-level uid=N and gid=N options, better help #77

Closed DrDaveD closed 1 year ago

DrDaveD commented 1 year ago

This adds uid=N and gid=N options to squashfuse_ll only, and improves the help message to include the options implemented outside of the FUSE options. It is similar to long-pending PR #20, but in the meanwhile the high level api FUSE library now supports those options directly, but the low level api does not. See this summary of the FUSE options. PR #20 also supports using names, but the FUSE library doesn't so this matches the FUSE library.

This is needed by Apptainer so the files that are mapped by an unprivileged user namespace don't end showing as the owner of nobody, which interferes with programs like ssh which require configuration files to be owned either by root or the current user.