Giter Club home page Giter Club logo

Comments (5)

krystofbe avatar krystofbe commented on August 18, 2024

Seems hardly possible. Flock uses supervisord which requires you to be a privileged user. Also, flock tools uses apt-get install that also has to be run by a privileged user.

Ensure that the supervisord configuration file cannot be read from or written to by unprivileged users and that all files installed by the supervisor package have β€œsane” file permission protection settings.
http://supervisord.org/running.html

from flock.

jdmcd avatar jdmcd commented on August 18, 2024

Those were my thoughts too, wasn't sure if there was a workaround that was possible or not.

from flock.

jakeheis avatar jakeheis commented on August 18, 2024

I suspect that flock tools will have to be run by a privileged user due to the apt-get call as @krystofbe suggests, but I suspect it might be possible to make flock deploy work when ran under an unprivileged user. https://coffeeonthekeyboard.com/using-supervisorctl-with-linux-permissions-but-without-root-or-sudo-977/ looks promising, but I haven't had time to look into it in depth yet

from flock.

jakeheis avatar jakeheis commented on August 18, 2024

eb24630 resolves this. flock tools still requires sudo, but flock deploy will now work without sudo

from flock.

jdmcd avatar jdmcd commented on August 18, 2024

πŸŽ‰ Thank you!

from flock.

Related Issues (15)

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.