Answer the question
In order to leave comments, you need to log in
How to properly give write permissions to two users in Linux?
There is a project on Symfony 2, which is deployed using Jenkins (works as a jenkins user). The project is running under nginx (running as www-data user). With each deployment, you need to clear the project cache using the Symfony command:
php app/console cache:clear --env=prod
Answer the question
In order to leave comments, you need to log in
adyn method:
create a group mygroup, give the group write permissions, add to it all users who need the right
dfa method:
add write permissions to each user via setfacl. The method is usually used when the first method is not applicable (since exactly one group can be used in it)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question