bunkerweb/examples/php-cookie-flags/setup-docker.sh

11 lines
187 B
Bash
Raw Normal View History

2022-12-14 10:02:05 +00:00
#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
2023-03-16 16:43:47 +00:00
chown -R 33:101 ./www
find ./www -type f -exec chmod 0640 {} \;
find ./www -type d -exec chmod 0750 {} \;