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

10 lines
186 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
2023-03-08 16:01:55 +00:00
chown -R 101:33 ./www
find ./www -type f -exec chmod 0660 {} \;
find ./www -type d -exec chmod 0770 {} \;