Commit 2e861b51 authored by Markus Wanner's avatar Markus Wanner

Correct permissions on /etc/courier/webadmin/password.

parent bd50bfb4
......@@ -17,6 +17,8 @@ courier (1.0.1-1) UNRELEASED; urgency=medium
* Update d/watch to version 4, use https.
* courier-mta: include binary courierfilter. Closes: #881696.
* courier-webadmin: Add dependency on libcgi-pm-perl. Closes: #910525.
* courier-webadmin: Correct ownership and permissions on
/etc/courier/webadmin/password (mode 0600, courier owned).
* sqwebmail.postinst: eliminate trailing slash passed on to
dpkg-statoverride.
......
......@@ -29,8 +29,8 @@ if [ "$1" = "configure" ]; then
db_get courier-webadmin/password
if [ "$RET" ]; then
touch /etc/courier/webadmin/password
chmod 0640 /etc/courier/webadmin/password
chown root:courier /etc/courier/webadmin/password
chmod 0600 /etc/courier/webadmin/password
chown courier:courier /etc/courier/webadmin/password
echo $RET > /etc/courier/webadmin/password
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment