From: Jonathan McDowell Date: Thu, 22 Aug 2019 07:17:49 +0000 (+0100) Subject: Cleanup postinst to avoid recursive chown of database X-Git-Tag: onak-0.6.0~18 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=dfab9e96ee1fa4a10acf9c1cf644d7a4366a5af6;hp=dfab9e96ee1fa4a10acf9c1cf644d7a4366a5af6;p=onak.git Cleanup postinst to avoid recursive chown of database The recursive chown of /var/lib/onak has the potential to be abused during installation, so just chown the top level directory and then run the onak that's initialising the DB as the onak user, rather than root. ---