X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/4d1212e60c60d000bc289e197fc0dccf98285bb1..7e81c28455626dda2519fec5b976fd41bedad872:/debian/postinst

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