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:
parent
3d78b1e2a7
commit
53b7969bb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user