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

11 lines
189 B
Bash
Raw Permalink Normal View History

2022-06-03 15:24:14 +00:00
#!/bin/bash
2023-10-02 10:05:15 +00:00
if [ "$(id -u)" -ne 0 ] ; then
2022-06-03 15:24:14 +00:00
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 {} \;