]> the.earth.li Git - onak.git/commitdiff
Cleanup postinst to avoid recursive chown of database
authorJonathan McDowell <noodles@earth.li>
Thu, 22 Aug 2019 07:17:49 +0000 (08:17 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 22 Aug 2019 07:17:49 +0000 (08:17 +0100)
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.


No differences found