Laravel permission problem
Posted: 2019/06/05 15:55:32
Hi,
I have permissions problem on my Laravel installation, even when I set the appropriate rights on the "storage" folder.
Why can't Laravel create the logs directory ?
The error (web) :
There is no existing directory at "/var/www/my_project/storage/logs" and its not buildable: Permission denied
The rights :
The users :
Linux : CentOS release 7.6.1810 (Core)
Apache 2.4.6
I have permissions problem on my Laravel installation, even when I set the appropriate rights on the "storage" folder.
Why can't Laravel create the logs directory ?
The error (web) :
There is no existing directory at "/var/www/my_project/storage/logs" and its not buildable: Permission denied
The rights :
Code: Select all
ll /var/www/
drwxrwxr-x. 14 apache apache 4096 5 juin 17:46 my_project
Code: Select all
ll /var/www/my_project
drwxrwxr-x. 4 apache apache 34 5 juin 17:40 storage
Code: Select all
groups apache
apache : apache admin
Code: Select all
groups admin
admin : admin wheel apache
Apache 2.4.6