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

@ -20,6 +20,7 @@ read -r INSTANCE_BASE_DIR MYSQL_DATABASE MYSQL_USER GRAPHDB_REPO GRAPHDB_USER <<
log_info " => Touching authorized_keys file"
touch "$INSTANCE_BASE_DIR/data/authorized_keys"
chmod a+rw "$INSTANCE_BASE_DIR/data/authorized_keys"
log_info " => Updating compose files"
install_resource_dir "compose/barrel" "$INSTANCE_BASE_DIR"