2022-06-03 17:24:14 +02:00

13 lines
171 B
Bash
Executable File

#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
if [ -d bw-data ] ; then
mkdir bw-data
fi
chown -R root:101 bw-data
chmod -R 770 bw-data