[Piuparts-commits] [piuparts] 11/12: jessie->stretch: fix permissions on /usr/share/man/nl/man1
Holger Levsen
holger at layer-acht.org
Thu Jan 12 16:58:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit cca061f3b3e371550c4c7c8ace6d919f998fc0ec
Author: Andreas Beckmann <anbe at debian.org>
Date: Thu Jan 12 02:05:23 2017 +0100
jessie->stretch: fix permissions on /usr/share/man/nl/man1
fakeroot:i386 in jessie shipped some directories with nonstandard
permissions 0775, these may be retained after upgrading to stretch
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
custom-scripts/scripts/post_distupgrade_exceptions | 10 ++++++++++
debian/changelog | 2 ++
2 files changed, 12 insertions(+)
diff --git a/custom-scripts/scripts/post_distupgrade_exceptions b/custom-scripts/scripts/post_distupgrade_exceptions
index cfc1ab7..8c029c3 100755
--- a/custom-scripts/scripts/post_distupgrade_exceptions
+++ b/custom-scripts/scripts/post_distupgrade_exceptions
@@ -56,3 +56,13 @@ if [ "$PIUPARTS_DISTRIBUTION" = "jessie" ]; then
fi
fi
+
+if [ "$PIUPARTS_DISTRIBUTION" = "stretch" ]; then
+
+ # fakeroot:i386 in jessie shipped these with permissions 0775
+ for dir in /usr/share/man/nl /usr/share/man/nl/man1
+ do
+ test ! -d "$dir" || chmod -c g-w "$dir"
+ done
+
+fi
diff --git a/debian/changelog b/debian/changelog
index c75c0d6..115af82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ piuparts (0.74) UNRELEASED; urgency=medium
onwards.
* scripts/post-{install,purge}-exceptions: Wait for dkms progress indicator
to terminate.
+ * scripts/post_distupgrade_exceptions: Work around some jessie->stretch
+ issues.
* scripts/is_testable_uninstallable: New custom script to exclude some
uninstallable (or similarily broken) packages from being tested.
* custom-scripts/scripts-debug-{remove,purge}: Improved debugging of
--
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