Fixed post-install

dev
santic-zombie 5 months ago
parent f6282e3371
commit 8988b764d3
  1. 12
      opennebula-common/opennebula-common.post-install

@ -46,17 +46,9 @@ fi
# Fix permissions oneadmin:cloud (0640/0750)
for F in /var/lock/one \
/var/log/one \
/var/run/one;
/var/log/one \
/var/run/one;
do
if [ -d "${F}" ]; then
chmod 0750 "${F}"
elif [ -f "${F}" ]; then
chmod 0640 "${F}"
else
continue
fi
chown "${ONE_USER}:${ONE_GROUP}" "${F}"
done

Loading…
Cancel
Save