chmod operation not permited
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
Run the following command from shell in the directory where Magneto is installed:
chown nobody app/etc/use_cache.ser
If that doesn’t work, replace
apache instead. Magento should now have sufficient privileges to manage the cache.