From 6fa82657e1545addc6d24c24654f102dcfab90cf Mon Sep 17 00:00:00 2001 From: Tim Martin Date: Tue, 29 Nov 2022 17:12:16 -0700 Subject: [PATCH] allow startup chown to return nonzero due to data filesystem implementation --- rootfs/etc/cont-init.d/999-startup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rootfs/etc/cont-init.d/999-startup.sh b/rootfs/etc/cont-init.d/999-startup.sh index f29ab1d97..ba6675b60 100644 --- a/rootfs/etc/cont-init.d/999-startup.sh +++ b/rootfs/etc/cont-init.d/999-startup.sh @@ -1,6 +1,5 @@ #!/usr/bin/with-contenv bash -set -e echo "" echo "" echo " -------------------------------------------------------------------------- " @@ -13,7 +12,7 @@ CHOWN="/bin/chown" CHMOD="/bin/chmod" MKDIR="/bin/mkdir" -#find "${DRUPAL_DIR}/vendor" \! -user nginx -exec $CHOWN nginx:www-data {} \; +set +e $CHMOD 0750 $DRUPAL_DIR/fix_permissions.sh