J
J
junqed2012-12-20 01:36:38
Django
junqed, 2012-12-20 01:36:38

Deploy Jungi (and not only)?

I made a project, wrote fabric scripts for deployment. But I just can’t understand under which user fabric should run commands so that there are no problems with rights. Who does what in this case? There is an option with sudo, but maybe there is some other way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
arezvov, 2012-12-20
@arezvov

fabric runs scripts (run) on behalf of the user under which the login is made.
When using the sudo command, the script is run as root.
In fact, the results of working with fabric tools do not differ from working with ssh console tools.
It is not clear what in your case lies under the expression "permission problem", but everything is regulated by the system of file access rights of the operating system:
www.google.ru/search?q=unix+files+permissions

V
Vyacheslav Slinko, 2012-12-20
@KeepYourMind

If you have such questions, please contact your nearest system administrator.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question