Set chmod 600 on existing cookieFile (#193)
This commit is contained in:
parent
b3f8989253
commit
513a11bccb
|
|
@ -171,8 +171,8 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
|
|||
fi
|
||||
else
|
||||
echo "$RABBITMQ_ERLANG_COOKIE" > "$cookieFile"
|
||||
chmod 600 "$cookieFile"
|
||||
fi
|
||||
chmod 600 "$cookieFile"
|
||||
fi
|
||||
|
||||
# prints "$2$1$3$1...$N"
|
||||
|
|
|
|||
|
|
@ -171,8 +171,8 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
|
|||
fi
|
||||
else
|
||||
echo "$RABBITMQ_ERLANG_COOKIE" > "$cookieFile"
|
||||
chmod 600 "$cookieFile"
|
||||
fi
|
||||
chmod 600 "$cookieFile"
|
||||
fi
|
||||
|
||||
# prints "$2$1$3$1...$N"
|
||||
|
|
|
|||
Loading…
Reference in New Issue