Tagged Questions
0
votes
0answers
21 views
Speeding up permission changes on git post-update hook
A month ago, based my question Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories, I received some great help from dawud for setting up a ...
-2
votes
1answer
99 views
logged in as root, make all files in /home/user chown to user when git pull
I like to stay logged into my (Ubuntu) VPS as root. Now I am running into issues when I git pull into my wordpress directory at /home/user .
All new files will have user and group assigned as "root", ...
3
votes
2answers
3k views
How to prevent ssh git push to set file ownership?
I have a remote bare Git repository on an Ubuntu server, where the files are owned by the user my_project and the group my_project, with permissions set accordingly. All commiters are themself in the ...