Friday, January 29, 2010

CakePHP on Media Temple (dv) - permissions issue for cache

Hey,

I just migrated my website from Media Temple's (gs) server to (dv). I
got an error that the /tmp/cache folder is not writable. Changing the
permissions to 777 fixes this error - however it seems unsafe (is this
true?). How come the server can't write to the cache file? The user
for that folder is specified in Plesk as "developer" which corresponds
to the ftp user. The group is pscaln. So it seems the webserver is
neither the ftp user or belongs to this group.

How can I make it so that the web server can write to the tmp folder
without setting permissions to 777?

thanks

Fahd

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: