Skip to content

Commit

Permalink
closes #674 - create a post-installation script to set file ownership…
Browse files Browse the repository at this point in the history
… / permissions (2)
  • Loading branch information
mohierf committed Jan 15, 2017
1 parent c1dc5d9 commit 3cb1669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/set_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3cb1669

Please sign in to comment.