You didn't say what the permissions are on the "../../data" directory itself. It sounds like that directory's ownership and/or permissions are not correct. Or try hard-coding the path to your data directory (not using "../"). It doesn't matter what the SM/data dir looks like if you're not using it (you shouldn't - in fact, whatever "../../data" is, hopefully it's not in your htdocs tree).
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Keith > Mastin > Sent: Sunday, March 09, 2003 10:43 AM > To: squirrelmail list > Subject: [SM-USERS] defaul_prefs error > > Hi, > > I just upgraded one of my SM installs to 1.2.11, and now I'm getting the > dreaded > "Error opening ../data/default_pref > Could not create initial preference file! > ../../data/ should be writable by user apache" > > Hetre's the $SM perms: > -rw-r--r-- 1 apache shadow-r 4463 Dec 30 22:36 AUTHORS > -rw-r--r-- 1 apache shadow-r 32544 Feb 9 21:01 ChangeLog > drwxrwxr-x 2 apache shadow-r 4096 Mar 9 09:59 config > -rwxr-xr-x 1 apache shadow-r 92 Dec 26 2001 configure > drwxr-xr-x 3 apache shadow-r 4096 Feb 9 21:16 contrib > -rw-r--r-- 1 apache shadow-r 15131 Dec 16 1999 COPYING > drwxrwxr-x 2 apache shadow-r 4096 Feb 9 21:16 data > drwxr-xr-x 3 apache shadow-r 4096 Feb 9 21:16 doc > drwxr-xr-x 2 apache shadow-r 4096 Feb 9 21:16 functions > drwxr-xr-x 24 apache shadow-r 4096 Feb 9 21:16 help > drwxr-xr-x 2 apache shadow-r 4096 Mar 9 09:54 images > -rw-r--r-- 1 apache shadow-r 341 Feb 19 2002 index.php > -rw-r--r-- 1 apache shadow-r 7848 Nov 11 16:01 INSTALL > drwxr-xr-x 35 apache shadow-r 4096 Feb 9 21:16 locale > drwxr-xr-x 25 apache shadow-r 4096 Mar 9 09:24 plugins > drwxr-xr-x 2 apache shadow-r 4096 Feb 9 21:16 po > -rw-r--r-- 1 apache shadow-r 2645 Jan 27 2002 README > -rw-r--r-- 1 apache shadow-r 4918 Feb 9 21:05 ReleaseNotes > drwxr-xr-x 2 apache shadow-r 4096 Feb 9 21:16 src > drwxr-xr-x 3 apache shadow-r 4096 Feb 9 21:16 themes > -rw-r--r-- 1 apache shadow-r 4890 Feb 13 2002 UPGRADE > > Here's the $SM/data perms: > -rw-r--r-- 1 apache shadow-r 82 Mar 8 2001 default_pref > -rw-r--r-- 1 apache shadow-r 469 Dec 23 2001 index.php > > I set the data dir to ../../data/. Here's those perms: > drwx-wx-wx 2 apache shadow-r 4096 Mar 5 12:34 attachments > -rwxrwxrwx 1 apache shadow-r 82 Jan 2 08:31 default_pref > -rwxrwxrwx 1 apache shadow-r 20800 Jan 2 08:31 dnscache > -rwxrwxrwx 1 apache shadow-r 1392 Jan 23 18:53 > keith.mastin.2003.cal > -rwxrwxrwx 1 apache shadow-r 1627 Mar 5 12:32 keith.mastin.abook > -rwxrwxrwx 1 apache shadow-r 257 Feb 22 09:42 keith.mastin.block > -rwxrwxrwx 1 apache shadow-r 0 Jan 2 08:31 keith.mastin.notes > -rw------- 1 apache shadow-r 1401 Mar 6 19:07 keith.mastin.pref > -rwxrwxrwx 1 apache shadow-r 60 Jan 25 13:59 keith.mastin.sig > > AFAIK all the perms are correct, no? It's a production system, so I need > this back up ASAP. Thanks for any help. > > > -- > BeechTree Information Technology Services Inc. > Toronto, Canada > (416)696 6070 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > -- > squirrelmail-users mailing list > List Address: [EMAIL PROTECTED] > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users