fix(): permission problem

This commit is contained in:
Hardware 2016-05-05 18:13:46 +02:00
parent 76c26df635
commit 31a5964e85
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA

View File

@ -5,6 +5,8 @@ addgroup -g ${GID} rainloop && adduser -h /rainloop -s /bin/sh -D -G rainloop -u
# Set permissions # Set permissions
chown -R rainloop:rainloop /rainloop /var/run/php-fpm.sock /var/lib/nginx /tmp 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 ! # RUN !
supervisord -c /etc/supervisor/supervisord.conf supervisord -c /etc/supervisor/supervisord.conf