Giter Club home page Giter Club logo

Comments (6)

trapexit avatar trapexit commented on June 12, 2024

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.

anthonyryan1 avatar anthonyryan1 commented on June 12, 2024

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.

trapexit avatar trapexit commented on June 12, 2024

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.

anthonyryan1 avatar anthonyryan1 commented on June 12, 2024

Fair enough. Closing this as an unsupported use case.

Thanks for your work on this project!

from mergerfs.

trapexit avatar trapexit commented on June 12, 2024

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.

anthonyryan1 avatar anthonyryan1 commented on June 12, 2024

I would certainly ensure it continues to get used if you're willing to support it with a warning.

from mergerfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.