Fixed chown

dev
santic-zombie 5 months ago
parent 7d15950dc4
commit 8015653416
  1. 6
      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

Loading…
Cancel
Save