Fix chown in v4 (#348)

This commit is contained in:
Ween Jiann
2021-05-14 09:45:32 +08:00
committed by GitHub
parent e34ac95617
commit 13423d38c0
2 changed files with 8 additions and 8 deletions

View File

@@ -83,7 +83,7 @@ fi
rm -rf "$BAK_PUBLIC_PATH"
# Set permission for web server to create/update files (only <v4)
chown -R "$INVOICENINJA_USER":www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
chown -R "$INVOICENINJA_USER":"$INVOICENINJA_USER" /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
# Initialize values that might be stored in a file
file_env 'APP_KEY'