#!/usr/bin/with-contenv sh # shellcheck shell=sh echo "Fixing perms..." mkdir -p /data \ /var/run/nginx \ /var/run/php-fpm chown nextcloud. \ /data chown -R nextcloud. \ /home/nextcloud \ /etc/tpls \ /var/lib/nginx \ /var/log/nginx \ /var/log/php* \ /var/run/nginx \ /var/run/php-fpm