Make wmbusmeters.d directory accessible for the owner

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
pull/88/head
Damian Wrobel 2020-03-03 10:21:33 +01:00
rodzic d9c58ccd25
commit 21463d51e6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -197,7 +197,7 @@ if [ ! -d "$ROOT"/etc/wmbusmeters.d ]
then
# Create the configuration directory
mkdir -p "$ROOT"/etc/wmbusmeters.d
chmod -R 655 "$ROOT"/etc/wmbusmeters.d
chmod -R 755 "$ROOT"/etc/wmbusmeters.d
echo conf dir: created "$ROOT"/etc/wmbusmeters.d
else
echo conf dir: "$ROOT"/etc/wmbusmeters.d unchanged