Skip to content

Commit

Permalink
fix(): potential security gap RainLoop#9
Browse files Browse the repository at this point in the history
  • Loading branch information
hardware committed Aug 27, 2017
1 parent 87d8435 commit aacde24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
sed -i "s/<UPLOAD_MAX_SIZE>/$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

0 comments on commit aacde24

Please sign in to comment.