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?
compile_diris supposed to be writable by the web server (and also outside your web root). So you should:The fact that on your Windows install the default
compile_dirwas also writable by the web server is typical for that OS, and doesn’t mean that there is something to fix on Linux.