From: Jonathan McDowell Date: Sun, 4 Mar 2007 19:27:46 +0000 (+0000) Subject: Make sure we own /var/spool/onak (Debian packaging) X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/7e81c28455626dda2519fec5b976fd41bedad872?ds=sidebyside Make sure we own /var/spool/onak (Debian packaging) chown onak /var/spool/onak in our postinst, so we can write incoming mail files there. --- diff --git a/debian/postinst b/debian/postinst index f821f40..b521528 100644 --- a/debian/postinst +++ b/debian/postinst @@ -14,8 +14,9 @@ if [ "$1" = "configure" ]; then zcat /usr/share/doc/onak/noodles.key | onak -b add fi - # Take ownership of the database directory + # Take ownership of the database and spool directory chown -R onak /var/lib/onak + chown -R onak /var/spool/onak # Create our logfile touch /var/log/onak.log