From 31a5964e85c241703128a85a33626f5ce95cca90 Mon Sep 17 00:00:00 2001 From: Hardware Date: Thu, 5 May 2016 18:13:46 +0200 Subject: [PATCH] fix(): permission problem --- startup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/startup b/startup index c2bbe52..a60acdb 100644 --- a/startup +++ b/startup @@ -5,6 +5,8 @@ addgroup -g ${GID} rainloop && adduser -h /rainloop -s /bin/sh -D -G rainloop -u # Set permissions chown -R rainloop:rainloop /rainloop /var/run/php-fpm.sock /var/lib/nginx /tmp +find /rainloop -type d -exec chmod 755 {} \; +find /rainloop -type f -exec chmod 644 {} \; # RUN ! supervisord -c /etc/supervisor/supervisord.conf