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