-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Operation not permitted when running mergerfs as user (not root) #799
Comments
Can you show exactly how to produce it? What creates operation not permitted errors? The mounting or the filesystem itself. |
No, it's not a new feature. If you're saying that it wasn't mounting as a regular use... yes. That was a known bug and fixed. It was a deb package build problem. Not a mergerfs issue. |
just by running throws an operation not permitted error, the options and branches themselves do not matter. I'm not sure how the deb package bug caused it, but anyway it works with 2.30.0 |
@trapexit, is there a regression? It does not work as non-root for version Okay, there is this big warning "warning: mergerfs is not running as root and may not work correctly" but according to the docs it imho should work as long as the permissions are fine. Output of a test script (see below):
This is the test script: [Edited to use absolute paths for branches.]
|
First version with "permission denied" is
Just found out that absolute paths are required since |
Please create new tickets for new issues.
mergerfs does not officially support that. Hence the warning. Why would you consider the warning a regression? It has always been this way and I mentioned it in the docs for a long time. I just added the logging to make sure people know.
Without you providing me the exact and most simplistic reproduction of the commandline / mount command I am unable to comment. |
I did not meant the warning a regression but not working as non-root at all.
As you wish … #1292 |
Describe the bug
When trying to run mergerfs that contain directories all inside the user home directory with proper permissions, I'm getting Operation not permitted errors.
To Reproduce
Use 2.29.0 and do any simple configuration.
Expected behavior
It works on 2.29.0 (it works on 2.30.0)
System information:
Linux instance-2 5.4.0-1021-gcp #21-Ubuntu SMP Fri Jul 10 06:53:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
2.29.0
/mnt/cache/a/local=RW:/mnt/cache/a/remote=NC /mnt/cache/a/merged -o rw,allow_other,use_ino,func.getattr=newest,category.action=all,category.create=ff,cache.files=auto-full
Additional context
I'm not sure this worked before 2.29.0 or if I just stumbled on a brand new feature?
I compiled the 2.30.0 release and installed that and it instantly worked.
I also found that the build tools install script is missing a package needed, I made a PR for that.
The text was updated successfully, but these errors were encountered: