debian/postinst - added 'chmod 644' for ini file; after mktemp
[php4-cn.git] / debian / postinst
index 5fca481..d24ad5d 100755 (executable)
@@ -216,6 +216,7 @@ 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"