|
|
|
@ -44,12 +44,12 @@ if [ ! -e "${ONEHOME}/.ssh/config" ] && [ -z "$2" ]; then |
|
|
|
|
chown "$ONE_USER:$ONE_GROUP" "${ONEHOME}/.ssh/config" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Fix permissions oneadmin:cloud (0640/0750) |
|
|
|
|
# Fix permissions oneadmin:cloud |
|
|
|
|
for F in /var/lock/one \ |
|
|
|
|
/var/log/one \ |
|
|
|
|
/var/run/one; |
|
|
|
|
/var/run/one ; |
|
|
|
|
do |
|
|
|
|
chown "${ONE_USER}:${ONE_GROUP}" "${F}" |
|
|
|
|
chown ${ONE_USER}:${ONE_GROUP} ${F} |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
|
|