[Piuparts-commits] [piuparts] 07/13: bad permission exception for gpe-tetris
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 90a2031461dea02d48870b4b9d87373784b439f5
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun Nov 24 01:23:16 2013 +0100
bad permission exception for gpe-tetris
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
.../scripts/pre_remove_50_find_bad_permissions | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/custom-scripts/scripts/pre_remove_50_find_bad_permissions b/custom-scripts/scripts/pre_remove_50_find_bad_permissions
index 7899e8c..c97c6cb 100755
--- a/custom-scripts/scripts/pre_remove_50_find_bad_permissions
+++ b/custom-scripts/scripts/pre_remove_50_find_bad_permissions
@@ -38,6 +38,22 @@ esac
fi
+case ${PIUPARTS_OBJECTS%%=*} in
+ gpe-tetris|gpe)
+ #WORKSAROUND #684178: gpe-tetris: creates world writable directory /var/games/gpe
+ # package removed after wheezy
+ for file in /var/games/gpe/gpe-tetris.dat
+ do
+ test ! -f "$file" || chmod -c o-w "$file"
+ done
+ for dir in /var/games/gpe
+ do
+ test ! -d "$dir" || chmod -c o-w "$dir"
+ done
+ ;;
+esac
+
+
# find world writables without sticky bit
BADPERMS=$(find / -mount ! -type l ! -type c ! -type p ! -type s -perm -o+w ! -perm -1000)
--
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