You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I use cache()->save('products-facet', $data, 0); in a cron job (which is a cli route), the web application won't be able to access this cache, it will throw "Permission Denied"
CodeIgniter 4 version
4.1.2
Expected behavior, and steps to reproduce if appropriate
Not sure what's the correct way to tackle this, but what I did as a workaround for now, is that I changed the chmod after caching from 0640 to 0644
Note: The purpose of this cron is to index some data, that's why I'm using the caching
The text was updated successfully, but these errors were encountered:
pixobit
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
May 28, 2021
Describe the bug
If I use
cache()->save('products-facet', $data, 0);
in a cron job (which is a cli route), the web application won't be able to access this cache, it will throw "Permission Denied"CodeIgniter 4 version
4.1.2
Expected behavior, and steps to reproduce if appropriate
Not sure what's the correct way to tackle this, but what I did as a workaround for now, is that I changed the chmod after caching from 0640 to 0644
Note: The purpose of this cron is to index some data, that's why I'm using the caching
The text was updated successfully, but these errors were encountered: