bunkerweb/examples/php-multisite/setup-docker.sh

13 lines
258 B
Bash
Raw Normal View History

2022-06-03 15:24:14 +00:00
#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
2022-12-02 14:37:23 +00:00
chown -R root:101 bw-data
chmod -R 770 bw-data
2022-12-05 10:47:56 +00:00
chown -R 82:101 ./bw-data/www
2022-06-03 15:24:14 +00:00
find ./bw-data/www -type f -exec chmod 0640 {} \;
2022-07-23 20:38:49 +00:00
find ./bw-data/www -type d -exec chmod 0750 {} \;