From: Dragan Dosen Date: Wed, 2 Apr 2008 12:30:56 +0000 (+0200) Subject: Change permissions on php.ini files to 644. X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=e274c81b4afb1ac146414d6c5b306d7caee1c12f;p=php4-cn.git Change permissions on php.ini files to 644. --- diff --git a/debian/postinst b/debian/postinst index 6979c4e..5fca481 100755 --- a/debian/postinst +++ b/debian/postinst @@ -96,6 +96,7 @@ for SAPI in apache2 cli; do cp_mv $ini_file_tmp $ini_file need_restart=1 fi + chmod 644 $ini_file done @@ -139,7 +140,7 @@ for php4ext in $EXTENSIONS; do cp_echo "CN: Adding $php4ext extension to file $PHP4CONFD/$php4ext.ini" - printf "# configuration for php %s module\nextension=%s\n" "${php4ext_up}" "${php4ext}" >> "$INITMP" + printf "# configuration for php %s module\nextension=%s.so\n" "${php4ext_up}" "${php4ext}" >> "$INITMP" cp_mv "$INITMP" "$PHP4CONFD/$php4ext.ini" need_restart=1 @@ -157,6 +158,7 @@ for php4ext in $EXTENSIONS; do need_restart=1 fi fi + chmod 644 $PHP4CONFD/$php4ext.ini done