[Piuparts-commits] [piuparts] 06/13: more bad file permission exceptions for citadel-server
Holger Levsen
holger at moszumanska.debian.org
Sun Nov 24 05:28:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 63608b7bc280b62d65ef8db399aa211d4838c1fc
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun Nov 24 01:21:09 2013 +0100
more bad file permission exceptions for citadel-server
finally, this seems to be fixed in sid :-)
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts/pre_remove_50_find_bad_permissions | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/custom-scripts/scripts/pre_remove_50_find_bad_permissions b/custom-scripts/scripts/pre_remove_50_find_bad_permissions
index fecbe0b..7899e8c 100755
--- a/custom-scripts/scripts/pre_remove_50_find_bad_permissions
+++ b/custom-scripts/scripts/pre_remove_50_find_bad_permissions
@@ -9,7 +9,8 @@ if [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ] || \
[ "$PIUPARTS_DISTRIBUTION" = "lenny" ]; then
case ${PIUPARTS_OBJECTS%%=*} in
- bcron-run|capisuite|debbugs|raccess4vbox3|sxid)
+ citadel-server|citadel-dbg|citadel-mta|citadel-suite|bcron-run|capisuite|debbugs|raccess4vbox3|smartlist|sxid)
+ #WORKSAROUND #684964: citadel-server: world writable config file: /etc/citadel/netconfigs/7
for file in /etc/citadel/netconfigs/7 /etc/citadel/refcount_adjustments.dat /etc/citadel/citadel.control
do
test ! -f "$file" || chmod -c o-w "$file"
@@ -25,7 +26,15 @@ if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ] || \
[ "$PIUPARTS_DISTRIBUTION" = "wheezy-proposed-updates" ] || \
[ "$PIUPARTS_DISTRIBUTION" = "wheezy-proposed" ]; then
- :
+case ${PIUPARTS_OBJECTS%%=*} in
+ citadel-server|citadel-dbg|citadel-mta|citadel-suite|bcron|bcron-run|capisuite|debbugs|exmh|nmh|raccess4vbox3|smartlist|xlbiff)
+ #WORKSAROUND #684964: citadel-server: world writable config file: /etc/citadel/netconfigs/7
+ for file in /etc/citadel/netconfigs/7 /etc/citadel/refcount_adjustments.dat /var/lib/citadel/data/refcount_adjustments.dat
+ do
+ test ! -f "$file" || chmod -c o-w "$file"
+ done
+ ;;
+esac
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list