Set chmod on authorized_keys

This commit is contained in:
Tom Wiesing 2021-05-04 12:04:17 +02:00
parent 7d1801004d
commit 9676e10546
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,7 @@ mkdir -p "$INSTANCE_DATA_DIR"
mkdir -p "$INSTANCE_DATA_DIR/.composer"
mkdir -p "$INSTANCE_DATA_DIR/data"
touch "$INSTANCE_DATA_DIR/authorized_keys"
chmod a+rw "$INSTANCE_DATA_DIR/authorized_keys"
# Generate some more random credentials, this time for drupal.
# We again make use of the randompw alias.