From 18e957e462484dba4e2299b82fe229f16e116692 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Thu, 30 Apr 2015 03:16:26 +0300 Subject: deb-pkg: fix /var/log/rhizi ownership --- res/debian/dirs | 2 ++ res/debian/postinst | 1 + 2 files changed, 3 insertions(+) create mode 100644 res/debian/dirs diff --git a/res/debian/dirs b/res/debian/dirs new file mode 100644 index 00000000..41d605ce --- /dev/null +++ b/res/debian/dirs @@ -0,0 +1,2 @@ +var/run/rhizi +var/log/rhizi diff --git a/res/debian/postinst b/res/debian/postinst index 1f871f78..44b87c5f 100644 --- a/res/debian/postinst +++ b/res/debian/postinst @@ -23,6 +23,7 @@ case "$1" in # call chmod, chown, etc. chown www-data:www-data /var/run/rhizi + chown www-data:www-data /var/log/rhizi # configure apache - FIXME: impl undo echo 'enabling apache proxy modules - warning: this will not be reverted during package uninstall' -- cgit v1.3.1