This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Laravel 5 Permissions
#1
Laravel 5 Permissions
Hey Guys,
I am using Centos 7 on AWS on an EC2 to work on development for laravel 5. I managed to get composer installed and working and laravel working.

Everything works fine, however any time I run a composer update or any type of command from terminal the files then become owned by root instead instead of apache and my FTP access will then refuse to update files as it no longer has permisson.

In order to make the files writable again through FTP I need to use the following command:

chown -R apache:apache directoryofinstallation

Whilst this is not a major drama it just gets tedius! Is there anyway I can resolve this? Either by running the terminal commands as apache or by allowing apache to edit files created by root.

Any advice would be great.

Mark
Reply
Thanks given by:


Messages In This Thread
Laravel 5 Permissions - by fitzuk - 04-03-2015, 06:56 PM
RE: Laravel 5 Permissions - by TGates - 04-04-2015, 12:34 AM
RE: Laravel 5 Permissions - by 5050 - 04-04-2015, 01:29 AM
RE: Laravel 5 Permissions - by TGates - 04-04-2015, 01:56 AM
RE: Laravel 5 Permissions - by Me.B - 04-04-2015, 03:04 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)