Set chmod on authorized_keys
This commit is contained in:
parent
7d1801004d
commit
9676e10546
2 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue