From de0fc796d43f2fea0655036c16b9aa0f594f340e Mon Sep 17 00:00:00 2001 From: jvolkenant Date: Tue, 18 Jun 2024 05:37:01 -0700 Subject: [PATCH] Fix chown during Nexcloud upgrades (#2377) --- setup/nextcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index 1fb19ade..a6137fa1 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -131,7 +131,7 @@ InstallNextcloud() { # Make sure permissions are correct or the upgrade step won't run. # $STORAGE_ROOT/owncloud may not yet exist, so use -f to suppress # that error. - chown -f -R www-data:www-data "$STORAGE_ROOT/owncloud /usr/local/lib/owncloud" || /bin/true + chown -f -R www-data:www-data "$STORAGE_ROOT/owncloud" /usr/local/lib/owncloud || /bin/true # If this isn't a new installation, immediately run the upgrade script. # Then check for success (0=ok and 3=no upgrade needed, both are success).