Support » Plugin: Quick Cache (Speed Without Compromise) » Permission on cache folder

  • mettha


    I am using quick-cache and it is a great app.

    I would like to know what is the best way to set up permission for the cache folder.

    Right now, for the cache to work and for external users being able to update the site, I need to make the cache folder writable by at least the owner of files and folders and the owner’s group where apache2 is a member.
    By the way, I set up wordpress as follows:
    Files and folders are owned by the wordpress owner and the wordpress owner has its own group. Apache server is member of that group to be able write to files already existing, like quick cache.

    The problem is when creating a new cache, apache needs write permission in the folder.

    Right now, I set it up like that but I am a little bit scared about giving write permission to apache in a folder, as it would allow somebody who can take control of some php code on the site to create a file in that folder and do nasty stuff.

    What would you think is the best way of allowing quickcache to regenerate itself and at the same time do not force me to set up a group writable cache directory?

    Thanks a lot!

  • The topic ‘Permission on cache folder’ is closed to new replies.