chmod operation not permited

Last modified by Crucial on Sat, May 31, 2008 17:01
Source|Old Revisions  |  Back To Group

This is an old revision of the document!

You might receive the following error when trying to refresh the cache in the backend of Magento:

Warning: chmod() [function.chmod]: Operation not permitted

To fix this, you need to change the ownership of a specific file in the app/etc directory to nobody or apache.

Run the following command from shell in the directory where Magneto is installed:

chown nobody app/etc/user_cache.ser

If that doesn’t work, replace nobody with apache instead. Magento should now have sufficient privileges to manage the cache.


Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs