From 334f3835575e2eb5a2e19ce1b372e9136485befa Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 12 Mar 2019 11:47:48 +0100 Subject: [PATCH] fix chown permission issue custom_apps dir --- 13.0/apache/entrypoint.sh | 2 ++ 13.0/fpm-alpine/entrypoint.sh | 2 ++ 13.0/fpm/entrypoint.sh | 2 ++ 14.0/apache/entrypoint.sh | 2 ++ 14.0/fpm-alpine/entrypoint.sh | 2 ++ 14.0/fpm/entrypoint.sh | 2 ++ 15.0/apache/entrypoint.sh | 2 ++ 15.0/fpm-alpine/entrypoint.sh | 2 ++ 15.0/fpm/entrypoint.sh | 2 ++ docker-entrypoint.sh | 2 ++ 10 files changed, 20 insertions(+) diff --git a/13.0/apache/entrypoint.sh b/13.0/apache/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/13.0/apache/entrypoint.sh +++ b/13.0/apache/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/13.0/fpm-alpine/entrypoint.sh b/13.0/fpm-alpine/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/13.0/fpm-alpine/entrypoint.sh +++ b/13.0/fpm-alpine/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/13.0/fpm/entrypoint.sh b/13.0/fpm/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/13.0/fpm/entrypoint.sh +++ b/13.0/fpm/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/14.0/apache/entrypoint.sh b/14.0/apache/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/14.0/apache/entrypoint.sh +++ b/14.0/apache/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/14.0/fpm-alpine/entrypoint.sh b/14.0/fpm-alpine/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/14.0/fpm-alpine/entrypoint.sh +++ b/14.0/fpm-alpine/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/14.0/fpm/entrypoint.sh b/14.0/fpm/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/14.0/fpm/entrypoint.sh +++ b/14.0/fpm/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/15.0/apache/entrypoint.sh b/15.0/apache/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/15.0/apache/entrypoint.sh +++ b/15.0/apache/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/15.0/fpm-alpine/entrypoint.sh b/15.0/fpm-alpine/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/15.0/fpm-alpine/entrypoint.sh +++ b/15.0/fpm-alpine/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/15.0/fpm/entrypoint.sh b/15.0/fpm/entrypoint.sh index 07644c048..9d4abd057 100755 --- a/15.0/fpm/entrypoint.sh +++ b/15.0/fpm/entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@" diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 07644c048..9d4abd057 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -129,4 +129,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi fi +chown www-data:root /var/www/html/custom_apps + exec "$@"