Comments (6)
What is the usecase?
mergerfs must run as root to work properly. allow_other is required for it to be visible by any other user. If run as root the /etc/fuse.conf setting is not relevant. So I can optionally set allow_other but I would then just need to add a test to see if running as root and error out or log serious warnings that it probably won't work.
from mergerfs.
The primary use case I've observed is people on shared hosting plans using it to merge slow & cheap cloud storage (often Google Drive) together with local storage for Plex servers.
It's a way to merge short term and long term storage together for them.
They don't have root, so mergerfs is used with user permissions only. I'm aware of nearly a hundred people running mergerfs for this precise use case, and (so far) the lack of root level permissions hasn't been a problem for any of them.
from mergerfs.
mergerfs absolutely is written (and could ever only work properly) when run as root. It simply has ignored certain errors that allowed it to continue on when certain things failed. Some actions are impossible to do without root access. Those users just haven't done anything with perms to have noticed it.
I can rework it not to add if not root but I've already started putting in strong warnings about this situation because I've gotten plenty of people who tried running mergerfs as non-root and ran into issues and reported them as bugs.
from mergerfs.
Fair enough. Closing this as an unsupported use case.
Thanks for your work on this project!
from mergerfs.
As I said I can rework it to accommodate but it will spit out a warning to indicate it isn't technically supported.
from mergerfs.
I would certainly ensure it continues to get used if you're willing to support it with a warning.
from mergerfs.
Related Issues (20)
- Merge of directory level
- MergerFS mount randomly disappears, only displays ??? when listed HOT 66
- Operation not permitted when mounting as non-root HOT 5
- Add support for "cp --reflink" HOT 4
- Failing to mount from fstab on boot, but can mount from command line HOT 5
- ubuntu 18.04 fresh install, with error HOT 1
- Permissions issue qBittorrent file creation when preload library is used in docker instance HOT 9
- unable to create new files (touch: cannot touch 'test': Not a directory) HOT 6
- Hangs when overlayfs is mounted on top of mergerfs's branch HOT 7
- Mergerfs volume with a single disk pool HOT 2
- Is it possible to use 'mount -a' to rebuild a mergerfs pool that is defined in fstab? HOT 6
- Tiered caching clarification HOT 7
- mergerfs - fuse `allow_other` and security HOT 3
- Benchmarking tool HOT 3
- fluctuating write performance HOT 13
- "&" sign in dirs path HOT 3
- The Debian12 mergerfs ls&df command displays an exception. HOT 7
- FUSE passthrough HOT 3
- Android smb clients issue on remove files. HOT 4
- How can I avoid moving files across file systems (mechanical hard disks) caused by Path Preservation? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mergerfs.