summaryrefslogtreecommitdiffstats
path: root/clamav
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2006-06-15 14:46:06 +0000
committer Eric Hameleers <alien@slackware.com>2006-06-15 14:46:06 +0000
commit92e22ee20caab038dbbe0ef3f8b17e231e3d229c (patch)
tree2daa0715bd1e3630997ab3f0a62bd4ad78244b74 /clamav
parent5b1de337657457e2a82d0e12b5d7df07d923e6ea (diff)
downloadasb-92e22ee20caab038dbbe0ef3f8b17e231e3d229c.tar.gz
asb-92e22ee20caab038dbbe0ef3f8b17e231e3d229c.tar.xz
Fixed directory permissions of /var/run/clamav so that other apps are able
to access the clamd socket.
Diffstat (limited to 'clamav')
-rwxr-xr-xclamav/build/clamav.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/clamav/build/clamav.SlackBuild b/clamav/build/clamav.SlackBuild
index 3ea234ab..b4ad9461 100755
--- a/clamav/build/clamav.SlackBuild
+++ b/clamav/build/clamav.SlackBuild
@@ -43,6 +43,9 @@
# * Rebuilt for the new release.
# 0.88.2-1: 29/may/2006 by Eric Hameleers
# * Rebuilt for the new release.
+# 0.88.2-2: 15/jun/2006 by Eric Hameleers
+# * Fixed permission for directory '/var/run/clamav' again
+# (it is now 771 so that the AllowSupplementaryGroups works)
#
# Run 'sh SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -60,7 +63,7 @@ fi
PRGNAM=clamav
VERSION=0.88.2
ARCH=${ARCH:-i486}
-BUILD=1
+BUILD=2
# Read "README.slackware" for compatibility with amavisd-new
CLAMUSR=clamav
@@ -213,7 +216,7 @@ touch var/log/freshclam.log
/usr/bin/chown ${CLAMUSR} usr/sbin/clamav-milter
/usr/bin/chmod 4700 usr/sbin/clamav-milter
/usr/bin/chown -R ${CLAMUSR}:${CLAMGRP} var/run/clamav
-/usr/bin/chmod -R 770 var/run/clamav
+/usr/bin/chmod 771 var/run/clamav
/usr/bin/chown ${CLAMUSR}:${CLAMGRP} var/log/clamd.log
/usr/bin/chmod 660 var/log/clamd.log
/usr/bin/chown ${CLAMUSR}:${CLAMGRP} var/log/freshclam.log