After moving php-files from windows to linux(centos) I started getting the following permissions errors:
ERRNO: 2
TEXT: rename(/tmp/wrtwetuti,/var/www/site1/presentation//compile_dir/ee63ba1108c61f830b5d6155f21b1bcd04684f7e.file.category.tpl.php): Permission denied
LOCATION: /var/www/site1/libs/smarty_3/sysplugins/smarty_internal_write_file.php, line 48, at September 9, 2011, 4:05 am
When for testing purposes chmoded compile_dir to 777, the problem goes away.
I wonder if anybody knows a solutions for it. Would installing suPHP solve this problem?