fix(installer): set config and data ownership to deploying user
This commit is contained in:
parent
73eaa27c6b
commit
ce418b6f0c
1 changed files with 2 additions and 0 deletions
|
|
@ -253,6 +253,8 @@ session:
|
|||
expiry_minutes: 60
|
||||
CONFIGEOF
|
||||
$SUDO chmod 600 "$CONFIG_FILE"
|
||||
$SUDO chown "$SYS_USER:$SYS_USER" "$CONFIG_FILE"
|
||||
$SUDO chown -R "$SYS_USER:$SYS_USER" "$DATA_DIR"
|
||||
success "Config: $CONFIG_FILE"
|
||||
|
||||
# ============================================================
|
||||
|
|
|
|||
Loading…
Reference in a new issue