[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. 99ae9353f6834da0cb73f59f4b32d1f0ae1263fa
Stephen Gran
steve at lobefin.net
Thu Sep 4 12:36:40 UTC 2008
The following commit has been merged in the debian/unstable branch:
commit 4786ded51024035fd37fefad0e30c1d8d0eea2bb
Author: Stephen Gran <steve at lobefin.net>
Date: Thu Sep 4 13:25:18 2008 +0100
Revert "Handle permissions of database files slightly better"
This reverts commit 3a1b839ccfcd812b25e25435ab814b7776d3f402.
diff --git a/debian/clamav-base.postinst.in b/debian/clamav-base.postinst.in
index b47d23b..1004c96 100644
--- a/debian/clamav-base.postinst.in
+++ b/debian/clamav-base.postinst.in
@@ -320,9 +320,13 @@ EOF
# Update database now
for db in main daily; do
if [ ! -e "$DATABASEDIR"/"$db".cvd ] && [ ! -d "$DATABASEDIR"/"$db".inc ] && [ ! -e "$DATABASEDIR"/"$db".cld ]; then
- install -m 0644 -o $user -g $user /usr/share/doc/clamav-base/examples/"$db".cvd \
+ install -m 0755 -o $user /usr/share/doc/clamav-base/examples/"$db".cvd \
"$DATABASEDIR"
fi
+ if [ -d "$DATABASEDIR"/"$db".inc ]; then
+ chmod 0755 "$DATABASEDIR"/"$db".inc
+ chown "$user" "$DATABASEDIR"/"$db".inc
+ fi
done
chmod 644 $CLAMAVCONF || true
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list