-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Operation not permitted when mounting as non-root #1292
Comments
From the strace. The kernel, not mergerfs, is giving you perm denied. It is clearly something about your system. Are you trying to mount this in a container? On a system without fusermount having setuid bits? |
I've found the reason (not the cause), but still don't understand it. If you are interested in the root cause why it fails on my system, I am happy to dig deeper. Just let me know. Some more details (in case you are interested):
It works when
Honestly, I don't understand why it succeeds eventually. Here is the full
|
Without digging in yet... FUSE filesystems need auxiliary tooling to be mounted as non-root. If you were mixing installed versions then there could be some incompatibility or not setup correctly. |
Just had a look into
Although it makes no sense, since there is no difference regarding the setuid bit in case
|
Describe the bug
Mounting as non-root fails with
fusermount: mount failed: Operation not permitted
.This fails for all versions since (including)
2.28.3-28-g5ce428c
up to latestmaster
. Especially it also fails forv2.30.0
, which – according to #799 – contains a fix for some imho very similar issue.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Although executing as non-root is not fully supported, according to the docs mounting as non-root should work as long as there are no issues with permissions.
System information
Linux host 6.5.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.13-1 (2023-11-29) x86_64 GNU/Linux
v2.38.1-1-gc1c2f07
The text was updated successfully, but these errors were encountered: