bunkerweb/examples/php-multisite/setup-docker.sh
2022-07-23 22:38:49 +02:00

10 lines
211 B
Bash
Executable file

#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
chown -R 33:101 ./bw-data/www
find ./bw-data/www -type f -exec chmod 0640 {} \;
find ./bw-data/www -type d -exec chmod 0750 {} \;