2022-07-10 14:46:54 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ $(id -u) -ne 0 ] ; then
|
|
|
|
echo "❌ Run me as root"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2023-03-08 17:01:55 +01:00
|
|
|
chown -R 33:101 ./www
|
|
|
|
find ./www -type f -exec chmod 0640 {} \;
|
2023-09-29 19:11:48 +02:00
|
|
|
find ./www -type d -exec chmod 0750 {} \;
|