From aacde245330c8edb1a45838fffedc5190780f566 Mon Sep 17 00:00:00 2001 From: Hardware Date: Mon, 28 Aug 2017 00:37:06 +0200 Subject: [PATCH] fix(): potential security gap #9 --- rootfs/usr/local/bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/usr/local/bin/run.sh b/rootfs/usr/local/bin/run.sh index 08be234..765d1b6 100644 --- a/rootfs/usr/local/bin/run.sh +++ b/rootfs/usr/local/bin/run.sh @@ -4,7 +4,7 @@ sed -i "s//$UPLOAD_MAX_SIZE/g" /etc/php7/php-fpm.conf /etc/nginx/nginx.conf # Fix permissions -chown -R $UID:$GID /rainloop /services /var/log /var/lib/nginx +chown -R $UID:$GID /rainloop/data /services /var/log /var/lib/nginx # RUN ! exec su-exec $UID:$GID /bin/s6-svscan /services