From 8015653416b2cbefbdb8f06e618d5317776c5dc2 Mon Sep 17 00:00:00 2001 From: santic-zombie Date: Sun, 23 Jun 2024 17:32:54 +0300 Subject: [PATCH] Fixed chown --- opennebula-common/opennebula-common.post-install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opennebula-common/opennebula-common.post-install b/opennebula-common/opennebula-common.post-install index 0b18dd4..65ae43e 100644 --- a/opennebula-common/opennebula-common.post-install +++ b/opennebula-common/opennebula-common.post-install @@ -45,11 +45,9 @@ if [ ! -e "${ONEHOME}/.ssh/config" ] && [ -z "$2" ]; then fi # Fix permissions oneadmin:cloud -for F in /var/lock/one \ - /var/log/one \ - /var/run/one ; +for F in /var/lock/one /var/log/one /var/run/one do - chown ${ONE_USER}:${ONE_GROUP} ${F} + chown "${ONE_USER}:${ONE_GROUP}" "${F}" done exit 0