From eedf007465226ae8f10f9ae0328ed85b2df015ea Mon Sep 17 00:00:00 2001 From: micuell Date: Sat, 29 Sep 2018 19:57:00 +0200 Subject: [PATCH] chmod g+w rundir --- nlvmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlvmi b/nlvmi index 8d052d0..1b1b153 100755 --- a/nlvmi +++ b/nlvmi @@ -21,7 +21,7 @@ if [ $U != "root" ]; then fi -if [ ! -d $RUNDIRECTORY ]; then if [ $LOGLEVEL -gt "1" ]; then echo "creating $RUNDIRECTORY"; fi; mkdir -p $RUNDIRECTORY; chown root:nlvmi -R $RUNDIRECTORY; fi +if [ ! -d $RUNDIRECTORY ]; then if [ $LOGLEVEL -gt "1" ]; then echo "creating $RUNDIRECTORY"; fi; mkdir -p $RUNDIRECTORY; chown root:nlvmi -R $RUNDIRECTORY; chmod g+w $RUNDIRECTORY; fi #checking database function checkdb {