Comments (5)
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.
Those were my thoughts too, wasn't sure if there was a workaround that was possible or not.
from flock.
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.
eb24630 resolves this. flock tools
still requires sudo, but flock deploy
will now work without sudo
from flock.
π Thank you!
from flock.
Related Issues (15)
- Restart processes upon error HOT 5
- Possibility to choose git branch HOT 1
- `flock --update` fails HOT 2
- error: unsatisfiable HOT 1
- Error: no such module 'SSH' HOT 4
- Swift 4 support? HOT 2
- Unable to install Flock HOT 1
- Is this still being maintained?
- An error occurred while installing. HOT 7
- "The dependency graph could not be satisfied" HOT 1
- supervisorctl fails to load vapor HOT 9
- SSH Forward Agent is ignored HOT 3
- Password protected ssh key asks for password on each command HOT 2
- Can't use with xcode HOT 3
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 flock.