From: <pdo...@us...> - 2009-07-29 03:35:16
|
Revision: 13803 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13803&view=rev Author: pdontthink Date: 2009-07-29 03:35:07 +0000 (Wed, 29 Jul 2009) Log Message: ----------- This time really make abook files get created with correct permissions Modified Paths: -------------- trunk/squirrelmail/functions/addressbook.php Modified: trunk/squirrelmail/functions/addressbook.php =================================================================== --- trunk/squirrelmail/functions/addressbook.php 2009-07-29 03:32:23 UTC (rev 13802) +++ trunk/squirrelmail/functions/addressbook.php 2009-07-29 03:35:07 UTC (rev 13803) @@ -54,6 +54,7 @@ /* File */ $filename = getHashedFile($username, $data_dir, "$username.abook"); $r = $abook->add_backend('local_file', Array('filename' => $filename, + 'umask' => 0077, 'line_length' => $abook_file_line_length, 'create' => true)); if(!$r && $showerr) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |