bunkerized-nginx/examples/cors/setup-docker.sh

12 lines
257 B
Bash
Raw Normal View History

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