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

Can't disable default_permissions #95

Open
fvollmer opened this issue May 7, 2019 · 2 comments · May be fixed by #139
Open

Can't disable default_permissions #95

fvollmer opened this issue May 7, 2019 · 2 comments · May be fixed by #139

Comments

@fvollmer
Copy link

fvollmer commented May 7, 2019

The commit 0528a7c sets default_permissions as a default parameter. Is there a way to mount without this permission?

Example application: Mount an image (owned by the current user) and try to edit files owned by root. This seems to be impossible, even through the user owns the image.

@asomers
Copy link
Contributor

asomers commented Aug 12, 2019

Also, the allow_other option should be disablable, or better yet not the default.

@asomers
Copy link
Contributor

asomers commented Aug 13, 2019

FYI ntfs3g solves this problem by adding a -o no_def_opts option, which disables all default options.

asomers added a commit to asomers/fuse-ext2 that referenced this issue Sep 5, 2023
Ever since 0528a7c these options have been always-on.  Now they will
actually be defaults: if the user supplies nodefault_permissions or
noallow_other on the command line, then default_permissions or
allow_other will not be set, respectively.

This commit does not change the behavior of local or noappledouble on
OSX, because I don't have any Apple systems to test it on.

Fixes alperakcan#95
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 a pull request may close this issue.

2 participants