Hi,
I have a problem with a Laravel project in production env.
When executing a process action that will save data to database, sometimes it runs normally and sometimes it gets error permission denied so the process stops and the data is not saved to the database.
This is an example of the error I got
file_put_contents({{project path}}/storage/framework/cache/data/f0/af/f0af28d967ebce07dac2a7c1ce0beadee95d5053): failed to open stream: Permission denied
please make sure that your permissions are set correctly. The user that runs your process has also be able to access the directory either by ownership and/or permissions.
What does your environment look like? What webserver do you use, how do you run that process and with which user?