Set .ssh permissions correctly

Owner was being set to manila but group was neglected.

Closes-Bug: #1480870
Closes-Bug: #1646135
Change-Id: I9bc4197221840b33ff5ea56a69d1dd282ee9003b
This commit is contained in:
Tom Barron 2018-12-26 06:58:21 -06:00
parent 3d78b1e2a7
commit 53b7969bb5
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ MANILA_USER_SSH_DIR="$MANILA_USER_HOME/.ssh"
if [ ! -d $MANILA_USER_SSH_DIR ]; then
mkdir -p $MANILA_USER_SSH_DIR
chmod 700 $MANILA_USER_SSH_DIR
chown -R $MANILA_USER $MANILA_USER_SSH_DIR
chown -R $MANILA_USER:$MANILA_USER $MANILA_USER_SSH_DIR
fi
# Fetch public key using HTTP