From 8b080a33fcfbe80215ad17fa759a28274eb8708e Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 28 Jan 2002 21:54:10 +0000 Subject: [PATCH] Saves users prefferences with permission 0600 in stead of 0644. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2271 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/prefs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/prefs.php b/functions/prefs.php index 06daf19f..74c7848f 100644 --- a/functions/prefs.php +++ b/functions/prefs.php @@ -108,6 +108,7 @@ function savePrefValues($data_dir, $username) { } } fclose($file); + chmod($filename, 0600); } /** -- 2.25.1