#!/bin/bash # Set rainloop directory permissions to catch bind mounts too chown -R www-data:www-data /rainloop/data find /rainloop -type d -exec chmod 755 {} \; find /rainloop -type f -exec chmod 644 {} \; # Call same entrypoint command as base image /usr/local/bin/apache2-foreground