From 3ece208dfb6b0ef1713d2586f1a65276124d5d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20MOHIER?= Date: Thu, 5 Jan 2017 13:40:57 +0100 Subject: [PATCH] closes #674 - create a post-installation script to set file ownership / permissions (2) --- dev/set_permissions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/set_permissions.sh b/dev/set_permissions.sh index 9034f01fc..0bea985c1 100755 --- a/dev/set_permissions.sh +++ b/dev/set_permissions.sh @@ -35,7 +35,7 @@ id -Gn alignak |grep -E '(^|[[:blank:]])nagios($|[[:blank:]])' >/dev/null || adduser alignak nagios ## Create directories with proper permissions -for i in /usr/local/var/run/alignak /usr/local/var/log/alignak /usr/local/var/lib/alignak /usr/local/var/libexec/alignak +for i in /usr/local/etc/alignak /usr/local/var/run/alignak /usr/local/var/log/alignak /usr/local/var/lib/alignak /usr/local/var/libexec/alignak do mkdir -p $i echo "Setting 'alignak' ownership on: $i"