Recently, I installed suPHP cgi on my VPS (CentOS 5.7) following these instructions:
http://help.directadmin.com/item.php?id=197
Now when I restore a user backup (as admin), I get the following error when opening one of the mailboxes from the restored domain with squirrelmail:
"Preference file, /var/www/html/squirrelmail/data/[email protected], could not be opened. Contact your system administrator to resolve this issue."
Looking more closely, the group owners are set incorrectly to:
-rw------- 1 apache webapps 198 Dec 21 11:44 [email protected]
When I set the group owners to webapps:webapps it is working again. Also, when I run from custombuild:
./build squirrelmail
the ownership is corrected for the *.pref files. But as soon as I restore a backup, the problem returns.
I am a bit worried ownership is not correctly restored by DA. Not sure if only squirrelmail is effected by this...
Anyway, something additional I need to do after having installed suPHP?
http://help.directadmin.com/item.php?id=197
Now when I restore a user backup (as admin), I get the following error when opening one of the mailboxes from the restored domain with squirrelmail:
"Preference file, /var/www/html/squirrelmail/data/[email protected], could not be opened. Contact your system administrator to resolve this issue."
Looking more closely, the group owners are set incorrectly to:
-rw------- 1 apache webapps 198 Dec 21 11:44 [email protected]
When I set the group owners to webapps:webapps it is working again. Also, when I run from custombuild:
./build squirrelmail
the ownership is corrected for the *.pref files. But as soon as I restore a backup, the problem returns.
I am a bit worried ownership is not correctly restored by DA. Not sure if only squirrelmail is effected by this...
Anyway, something additional I need to do after having installed suPHP?