I have a project for my school lecture which located here. It basically download some images from internet. And also It has a setup like wordpress and need to modify some php files.
I have to give 777 permission to img/ and img/Stars/ folders(you can see from github) to download images properly. And setup/index.php,resources/php/functions.php permissions to in order to connect db after modification?)(lol).
So, is there any way to give those permissions bundled with github so it wont casue any problem, or how can I prevent this permission issues.
( 6 months ago )
Can you use chown to set the owner of the necessary scripts to the same user your web server is running as? Possibly _WWW