From bea235b53269ba2f56e9ab3f9a93ae4554c5868d Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 28 Apr 2009 22:03:23 +0000 Subject: [PATCH] Reduce confusion about what user is running the web server git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13624 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/file_prefs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/file_prefs.php b/functions/file_prefs.php index ef117760..9950a427 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -258,14 +258,14 @@ function checkForPrefs($data_dir, $username, $filename = '') { ( is_readable($default_pref) && !@copy($default_pref, $filename) ) || !@touch($filename) ) { - $uid = 'httpd'; + $uid = 'that the web server is running as'; if (function_exists('posix_getuid')){ $user_data = posix_getpwuid(posix_getuid()); $uid = $user_data['name']; } $errTitle = _("Could not create initial preference file!"); $errString = $errTitle . "\n" . - sprintf( _("%s should be writable by user %s."), $data_dir, $uid ) . "\n" . + sprintf( _("%s should be writable by the user %s."), $data_dir, $uid ) . "\n" . _("Please contact your system administrator and report this error.") ; logout_error( $errString, $errTitle ); exit; -- 2.25.1