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) # Fix permissions oneadmin:cloud (0640/0750)
for F in /var/lock/one \ for F in /var/lock/one \
/var/log/one \ /var/log/one \
/var/run/one; /var/run/one;
do do
if [ -d "${F}" ]; then
chmod 0750 "${F}"
elif [ -f "${F}" ]; then
chmod 0640 "${F}"
else
continue
fi
chown "${ONE_USER}:${ONE_GROUP}" "${F}" chown "${ONE_USER}:${ONE_GROUP}" "${F}"
done done

Loading…
Cancel
Save