ez.no / ezpublish / documentation / configuration / troubleshooting / permissions of cache files
These documentation pages are no longer maintained. Please visit the new documentation site.
Only the superuser can change ownership of a file, when a PHP script creates a file the user which runs Apache is the owner.
However it's possible to set other filepermissions by editing settings/site.ini.php and changing the permission settings in the groups [FileSettings] to 0777 for dirs and 0666 for files which allows everyone to read/write them. This allows you to remove the files after they have been created by PHP. Note: This is considered a security risk since everyone can read the files created, for instance passwords could be present.
You could also ask the admin of the hoster to add you to the apache group or something similar.
There are two scripts to delete the Cache files anyway: ClearCache from Hans Tolboom and one by Ekkehard Doerre.
Comments