MarkSiteVision
2 weeks ago
1081
1
Servers

Folder/File permissions for Laravel 5.8 on AWS EC2 as GIT project

Posted 2 weeks ago by MarkSiteVision

Hi, So I've been trying to search quite a bit for this issue. I am developing a system using Laravel 5.8, I'm using git as my subversion system. In the past I have had a lot of issues with getting the folder and file permissions just right. A lot of replies around the web mentions "just add 777", and I have absolutely no interest in doing that. So is there anyone here who know how to setup my server so it not one have the correct permissions on my project, but also maintain them. In the past when i have been changing permissions to 775 when i then want to commit those changes into my git and onto my server, they get committed as 644 and not 775.

I hope this makes any kind of sense.

Please sign in or create an account to participate in this conversation.