Fixed post-install
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user