Browse Source

Fix ownership of folders

main
Pekka Helenius 2 years ago
parent
commit
c14d98f36b
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      cloudstack/cloudstack-management.install

+ 5
- 2
cloudstack/cloudstack-management.install View File

@ -4,10 +4,13 @@ post_install() {
if [[ ! -d /var/lib/cloudstack/user ]]; then
mkdir -p /var/lib/cloudstack/user
chown cloud.cloud -R /var/lib/cloudstack/user
fi
chown cloud.cloud /var/log/cloudstack
chown cloud.cloud -R /var/lib/cloudstack/user
chown cloud.cloud /var/log/cloudstack/management
chown cloud.cloud /var/log/cloudstack/ipallocator
chown cloud.cloud /var/lib/cloudstack/data/
# Apply cloudbr0, cloudbr1 & cloudbr2 network interfaces


Loading…
Cancel
Save