nextcloud/config/cont-init.d/02-fix-perms.sh
casjay 4954dce9b1
🦈🏠🐜 Initial Commit 🐜🦈🏠
2022-10-04 21:48:50 -04:00

18 lines
305 B
Bash

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