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

Fakeroot like behavior for mounts inside a fuse2fs mounted filesystem #138

Open
ruanformigoni opened this issue Apr 3, 2023 · 0 comments

Comments

@ruanformigoni
Copy link

Hello there,

I'm currently experiencing an issue, I can use this command:

$ fuse2fs -ofakeroot focal.img mnt

To mount a filesystem in the mnt folder, I can also do chown root:root mnt/some-folder without root privileges, however, I cannot mount subsystems in the mnt mountpoint without the allow_other fuse option, which is not enabled by default.

Example:

# When inside `mnt/test` which has `alpine.img` and the `mnt2` empty folder
$ fuse2fs -ofakeroot alpine.img mnt2
fusermount: bad mount point /home/.../mnt/test/mnt2: Permission denied

Would it be possible to circumvent this issue by expanding upon the current implementation of fakeroot?

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

No branches or pull requests

1 participant