From 8eb624f176c4c8747fbca15123a4dba0a999cf57 Mon Sep 17 00:00:00 2001 From: josepablofernandez Date: Thu, 7 Apr 2016 20:44:17 +0200 Subject: [PATCH 1/2] Update postinst --- shell/src/main/unix/scripts/postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell/src/main/unix/scripts/postinst b/shell/src/main/unix/scripts/postinst index 7299e4e5..1ff94627 100644 --- a/shell/src/main/unix/scripts/postinst +++ b/shell/src/main/unix/scripts/postinst @@ -40,6 +40,12 @@ case "$1" in chmod 0755 $DIR_INSTALL/bin/* chown -R $USER:$GROUP $DIR_INSTALL + + chown root:${GROUP} /var/log/sds 2>/dev/null + chmod 775 /var/log/sds 2>/dev/null + + chown root:${GROUP} /var/run/sds 2>/dev/null + chmod 775 /var/run/sds 2>/dev/null ;; esac From f845aa037af518d00eae6b567eb626aa4fbf824d Mon Sep 17 00:00:00 2001 From: josepablofernandez Date: Thu, 7 Apr 2016 20:48:25 +0200 Subject: [PATCH 2/2] Update postinst --- shell/src/main/unix/scripts/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/src/main/unix/scripts/postinst b/shell/src/main/unix/scripts/postinst index 1ff94627..ea3e0673 100644 --- a/shell/src/main/unix/scripts/postinst +++ b/shell/src/main/unix/scripts/postinst @@ -46,6 +46,9 @@ case "$1" in chown root:${GROUP} /var/run/sds 2>/dev/null chmod 775 /var/run/sds 2>/dev/null + + chown root:${GROUP} /etc/sds 2>/dev/null + chmod 775 /etc/sds 2>/dev/null ;; esac