Saves users prefferences with permission 0600 in stead of 0644.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Jan 2002 21:54:10 +0000 (21:54 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Jan 2002 21:54:10 +0000 (21:54 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2271 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/prefs.php

index 06daf19..74c7848 100644 (file)
@@ -108,6 +108,7 @@ function savePrefValues($data_dir, $username) {
         }
     }
     fclose($file);
+    chmod($filename, 0600);
 }
 
 /**