summaryrefslogtreecommitdiff
path: root/security/drweb/files/drwebd.sh
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 06:39:31 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 06:39:31 +0000
commit354e14d45e60032367b8e7e4977e0035757b9949 (patch)
tree86a60b9c4c5d291ebf1410bb616b07abfadffe8b /security/drweb/files/drwebd.sh
parentAdd a patch to fix a potential security hole (any shell scripts in uuencoded (diff)
Configuration tuning
Notes
Notes: svn path=/head/; revision=48382
Diffstat (limited to 'security/drweb/files/drwebd.sh')
-rw-r--r--security/drweb/files/drwebd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/drweb/files/drwebd.sh b/security/drweb/files/drwebd.sh
index ed9be3b62f77..bfffe8b64255 100644
--- a/security/drweb/files/drwebd.sh
+++ b/security/drweb/files/drwebd.sh
@@ -9,11 +9,12 @@ start)
if [ -x $drwebd ]; then
echo -n ' drwebd'
$drwebd
+ /bin/chmod 660 /var/run/drwebd.sock
fi
;;
stop)
/usr/bin/killall drwebd
- /bin/rm -f /var/run/drwebd
+ /bin/rm -f /var/run/drwebd.sock
echo -n ' drwebd'
;;
*)