Skip to content
Snippets Groups Projects
Commit b5773e64 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Change keystone.log's permit to keystone:keystone"

parents 40e768ec cebed256
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,12 @@ fi ...@@ -31,6 +31,12 @@ fi
if [[ $(stat -c %U:%G ${KEYSTONE_LOG_DIR}) != "keystone:kolla" ]]; then if [[ $(stat -c %U:%G ${KEYSTONE_LOG_DIR}) != "keystone:kolla" ]]; then
chown keystone:kolla ${KEYSTONE_LOG_DIR} chown keystone:kolla ${KEYSTONE_LOG_DIR}
fi fi
if [ ! -f "${KEYSTONE_LOG_DIR}/keystone.log" ]; then
touch ${KEYSTONE_LOG_DIR}/keystone.log
fi
if [[ $(stat -c %U:%G ${KEYSTONE_LOG_DIR}/keystone.log) != "keystone:keystone" ]]; then
chown keystone:keystone ${KEYSTONE_LOG_DIR}/keystone.log
fi
if [[ $(stat -c %a ${KEYSTONE_LOG_DIR}) != "755" ]]; then if [[ $(stat -c %a ${KEYSTONE_LOG_DIR}) != "755" ]]; then
chmod 755 ${KEYSTONE_LOG_DIR} chmod 755 ${KEYSTONE_LOG_DIR}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment