debian/postinst - added 'chmod 644' for ini file; after mktemp
authorDragan Dosen <bane@nekkar.carnet.hr>
Sun, 6 Apr 2008 18:18:16 +0000 (20:18 +0200)
committerDragan Dosen <bane@nekkar.carnet.hr>
Sun, 6 Apr 2008 18:18:16 +0000 (20:18 +0200)
(line 201) and cp_mv.

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"