bunkerweb/tests/core/cors/entrypoint.sh
Jordan Blasenhauer 86cb619b5f add bunkerweb 1.6
2024-07-01 11:21:54 +02:00

10 lines
186 B
Bash

#!/bin/bash
if [ "$(id -u)" -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
chown -R 33:101 /www
find /www -type f -exec chmod 0655 {} \;
find /www -type d -exec chmod 0755 {} \;