bunkerized-nginx/examples/php-cookie-flags/setup-docker.sh

11 lines
189 B
Bash
Raw Permalink Normal View History

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