Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I think it's self explaining. It says it's not writable but the permissions are correct. I'm logged as a root but it's the same for every user. So where's the problem?

share|improve this question

migrated from Jul 24 '11 at 15:42

This question came from our site for professional and enthusiast programmers.

OMG this is a 777, do not trust any answer containing a 777, it's like a del . – regilero Jul 23 '11 at 9:27
does the server have selinux installed/enabled? – contrebis Jul 24 '11 at 1:54

PHP, when running in safe mode, enforces some additional security constraints on file access, over and above underlying file-system permissions. See the note about fopen on this page

It says:

Checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed.

You should chown the tmp/cache to belong to your webserver's user (usually apache).

share|improve this answer
it actually does something but still it doesn't work. same errors as before. – Chobeat Jul 23 '11 at 7:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.