From 7e81c28455626dda2519fec5b976fd41bedad872 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sun, 4 Mar 2007 19:27:46 +0000 Subject: [PATCH] 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. --- debian/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2