Make my git user and apache user have read/write/delete access
Posted
by
Mr A
on Server Fault
See other posts from Server Fault
or by Mr A
Published on 2013-10-29T03:48:00Z
Indexed on
2013/10/29
3:57 UTC
Read the original article
Hit count: 584
I am having permission problems on my server. I use user developer to pull my git repository on the server. Then apache uses its own apache user to do write and execute code. I always have the problems when the app wants to write something in the directory (i.e: log files, and cache ...) if I execute a cron job and it uses my developer rights and wants to add something to the folders that is written by apache.
My question is how to have my developer have the same write/delete access as my apache and avoid permission conflicts with each other? I am not fluent on linux command so, it would help if you could provide links or simply examples of doing so.
thanks.
© Server Fault or respective owner