From ee7751dcadf3db94d613d0ee4a44172bd89e0b2b Mon Sep 17 00:00:00 2001 From: Jan-Luca Date: Sat, 11 May 2019 13:27:57 +0200 Subject: [PATCH] Set correct permissions for pipe scripts --- ztvh.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ztvh.sh b/ztvh.sh index b0186f9..08316e1 100755 --- a/ztvh.sh +++ b/ztvh.sh @@ -1355,7 +1355,7 @@ then # mkdir ~/ztvh/chpipe 2> /dev/null - chmod 0777 ~/ztvh/chpipe/* 2> /dev/null + chmod 0777 ~/ztvh/chpipe 2> /dev/null if [ ! -s ~/ztvh/user/options ] then @@ -1368,6 +1368,7 @@ then grep "provider=" ~/ztvh/user/userfile | sed "/^$/d;s/provider=//g" > provider perl ~/ztvh/zchannels.pl > ~/ztvh/channels.m3u + chmod 0777 ~/ztvh/chpipe/* 2> /dev/null rm channels_file provider 2> /dev/null else if grep -q "insecure=true" ~/ztvh/user/userfile