Path

ez.no / ezpublish / documentation / configuration / troubleshooting / permissions of cache files


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.

Scripts to help you out

There are two scripts to delete the Cache files anyway: ClearCache from Hans Tolboom and one by Ekkehard Doerre.

Comments

Contents

Configuration

Configuration
Security
Optimization
Backup & Restore
Troubleshooting
    404 - Page not found
    Change the right configuration file
    Debug popup window infinite loops
    eZ publish 3 and Apache 2
    Getting looped back when logging in
    Giving you back the admin rights
    I need to reindex my site for search.
    Images do not work
    Mixing up node id and object id
    Not enough PHP memory
    Open_basedir restriction
    Permissions of cache files
    Problems with the translation function
    Process cache enabled reduces perform...
    User site instead of admin site
    Warning: Failed to write session data...
    What not to do with eZ


Created

06/05/2003
1:39:58 pm
by Karsten Jennissen

Last updated

04/07/2003
5:32:11 pm
by Bård Farstad

Authors

Karsten Jennissen
Bård Farstad



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.