[Piuparts-commits] [piuparts] 01/09: add exception for phpgacl (<= squeeze) creating world writable directory

Holger Levsen holger at moszumanska.debian.org
Tue Feb 10 12:18:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 77465cd3b72180dd8e1f8b067462e233fbfc0b4c
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Feb 10 02:22:40 2015 +0100

    add exception for phpgacl (<= squeeze) creating world writable directory
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/post_distupgrade_exceptions | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/custom-scripts/scripts/post_distupgrade_exceptions b/custom-scripts/scripts/post_distupgrade_exceptions
index 92a561b..01c54db 100755
--- a/custom-scripts/scripts/post_distupgrade_exceptions
+++ b/custom-scripts/scripts/post_distupgrade_exceptions
@@ -33,6 +33,15 @@ if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ]; then
 			log_debug
 			apt-get install -yf libpam-cap
 			;;
+		phpgacl)
+			# #682825
+			# package not in wheezy
+			log_debug
+			for dir in /usr/share/phpgacl/admin/templates_c
+			do
+				test ! -d "$dir" || chmod -c o-w "$dir"
+			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