fix(): potential security gap #9

This commit is contained in:
Hardware 2017-08-28 00:37:06 +02:00
parent 87d843564e
commit aacde24533
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA

View File

@ -4,7 +4,7 @@
sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/php7/php-fpm.conf /etc/nginx/nginx.conf sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/php7/php-fpm.conf /etc/nginx/nginx.conf
# Fix permissions # 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 ! # RUN !
exec su-exec $UID:$GID /bin/s6-svscan /services exec su-exec $UID:$GID /bin/s6-svscan /services