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

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