Level 73
Feb 25, 2022
3
Level 1
Unable to create lockable file:
Hello, I'm getting this error frequently on my production server and am unsure about how I should go about solving it.
My server is running Amazon linux 2
Error:
Unable to create lockable file: /var/www/myproject/storage/framework/cache/data/d0/73/d0737bb3c50deb9580164073239b02bdf3e6bae4. Please ensure you have permission to create files in this location.
My permissions are as follows:
sudo chown -R apache:apache /var/www/myproject
sudo find /var/www/myproject -type d -exec chmod 755 {} +
sudo find /var/www/myproject -type f -exec chmod 644 {} +
sudo chmod -R 777 /var/www/myproject/storage
What am I doing wrong?
Please or to participate in this conversation.