From 0747739c76dd24fca300956359bb277744660ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 18 Dec 2023 14:35:06 +0100 Subject: [PATCH] Use $app instead of $YNH_APP_ID --- scripts/_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index fa6e370..baf9356 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -16,9 +16,9 @@ _set_permissions() { chown -R "$app:$app" "$data_dir" find $data_dir \( \! -perm u=rwX,g=rX,-o= \ - -o \! -user $YNH_APP_ID \ - -o \! -group $YNH_APP_ID \) \ - -exec chown $YNH_APP_ID:$YNH_APP_ID {} \; \ + -o \! -user $app \ + -o \! -group $app \) \ + -exec chown $app:$app {} \; \ -exec chmod u=rwX,g=rX,o= {} \; chmod -R u=rwX,g=,o= "$data_dir/.ssh"