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

[Feature] Ability to specify fuse options when using `weed mount` ( Can't mount as non-root user ) #877

Closed
zicklag opened this Issue Mar 10, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@zicklag
Copy link
Contributor

zicklag commented Mar 10, 2019

Hi, I was testing mounting seaweedfs as a non-root user on Ubuntu 16.04 and I ran into the following error.

mount helper error: fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf

As far as I understand it, I could mount the filesystem if it wasn't for the fact that the weed mount command has the FUSE allow_other option on by default, and I am unable to override it. It would be nice if the weed mount command would allow setting fuse options so that it is configurable.

@zicklag zicklag changed the title [Feature] Ability to specify fuse options when using `weed mount` [Feature] Ability to specify fuse options when using `weed mount` ( Can't mount as non-root user ) Mar 10, 2019

@accumulatepig

This comment has been minimized.

Copy link

accumulatepig commented Mar 11, 2019

add user_allow_other to /etc/fuse.conf ,why can't you override it?

@zicklag

This comment has been minimized.

Copy link
Contributor Author

zicklag commented Mar 11, 2019

The allow_other option is an option to the FUSE mount command ( like fusermount ). It lets other users access the mountpoint, but I don't want to allow other users to access the mount as it is one of FUSE's security measures. With other FUSE filesystems I have been able to run the mount without the other_users option so that there is no need for the user to have extra permissions added to fuse.conf.

For my use-case I'm wanting to be able to mount as a normal user on the system with no special permissions.

@chrislusf chrislusf closed this in 6fe0711 Mar 11, 2019

@zicklag

This comment has been minimized.

Copy link
Contributor Author

zicklag commented Mar 11, 2019

Thank you! @chrislusf 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.