Error opening ../data/default_pref
Could not create initial preference file!
/srv/webmail.uwasnet.org/web/data/ should be writable by user wwwrun
Please contact your system administrator and report this error.
File permission is set to 777
When i run the command ls -la /srv/www/webmail.uwasnet.org/web/data
output of the command. I just ran it for a different site with the same problem
mail:/srv/www/webmail.uwasnet.org/web/data # ls -la /srv/www/webmail.uwasnet.org/web/data total 20
drwxrwxrwx 2 web12 client5 4096 Aug 20 15:38 .
drwxr-xr-x 18 web12 client5 4096 Aug 25 14:18 ..
-rwxr-xr-- 1 web12 client5 14 Aug 20 15:38 .htaccess
-rwxr-xr-- 1 web12 client5 41 Aug 20 15:38 default_pref
-rwxr-xr-- 1 web12 client5 485 Aug 20 15:38 index.php
Even after running the command chown wwwrun /srv/webmail.uwasnet.org/web/data/ I still have the same problem.
There is a .htaccess file which has a deny all in it. Should i change the parameter to accept all?
Error opening ../data/default_pref
Could not create initial preference file! /srv/www/webmail.uwasnet.org/data/ should be writable by user wwwrun
Please contact your system administrator and report this error
This is what is in the config file.
$data_dir = '/srv/www/webmail.uwasnet.org/data/';
/**
* Attachments directory
*
* Path to directory used for storing attachments while a mail is
* being sent. There are a few security considerations regarding
* this directory:
* + It should have the permission 733 (rwx-wx-wx) to make it
* impossible for a random person with access to the webserver to
* list files in this directory. Confidential data might be laying
* around there.
* + Since the webserver is not able to list the files in the content
* is also impossible for the webserver to delete files lying around
* there for too long.
* + It should probably be another directory than data_dir.
* @global string $attachment_dir
*/
$attachment_dir = '/srv/www/webmail.uwasnet.org/attach/';
Recent comments
17 hours 33 min ago
1 day 14 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 26 min ago
2 days 3 hours ago
2 days 8 hours ago
2 days 8 hours ago