Answer the question
In order to leave comments, you need to log in
Is git auto-deploy from apache user possible?
There are users:
apache
dev1
dev2
A post-recieve hook has been created in the server repository, which checkouts the master branch into the production folder.
We need apache to always be the owner of the files in the production folder.
The hook is now running on behalf of the user doing the push, which makes it the owner.
Question see title
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question