nextcloud/config/cont-init.d/02-fix-perms.sh

18 lines
305 B
Bash
Raw Normal View History

#!/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