debian/postinst - added 'chmod 644' for ini file; after mktemp
[php5-cn.git] / debian / postinst
index 32ef34f..17d1c41 100755 (executable)
@@ -216,8 +216,8 @@ for SAPI in apache2 cli; do
                need_restart=1
            fi
            cp_mv "$ini_file_tmp" "$ini_file"
-       
-       
+           chmod 644 "$ini_file"
+
            if [ -e "$ini_file_tmp" ]; then
                rm -f "$ini_file_tmp"
            fi