From: Joey Hess Date: Thu, 22 Nov 2007 00:35:16 +0000 (-0500) Subject: * Remove execute bit from desktop files in /usr/share/applications. X-Git-Tag: 5.0.62~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=b639f939432a03b322a8db30531ce25132106185;p=debhelper.git * Remove execute bit from desktop files in /usr/share/applications. Closes: #452337 --- diff --git a/debian/changelog b/debian/changelog index f632eeb..3c60778 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (5.0.62) UNRELEASED; urgency=low + + * Remove execute bit from desktop files in /usr/share/applications. + Closes: #452337 + + -- Joey Hess Wed, 21 Nov 2007 19:34:39 -0500 + debhelper (5.0.61) unstable; urgency=low * Man page fix re v4. Closes: #450608 diff --git a/dh_fixperms b/dh_fixperms index 86a3d1b..d9c726c 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -23,10 +23,10 @@ dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ directory) be mode 644. It also changes the permissions of all man pages to mode 644. It makes all files be owned by root, and it removes group and other write permission from all files. It -removes execute permissions from any libraries that have it set. It makes -all files in bin/ directories, /usr/games/ and etc/init.d executable (since -v4). Finally, it removes the setuid and setgid bits from all files in the -package. +removes execute permissions from any libraries, headers, perl modules, or +desktop files that have it set. It makes all files in bin/ directories, +/usr/games/ and etc/init.d executable (since v4). Finally, it removes the +setuid and setgid bits from all files in the package. =head1 OPTIONS @@ -76,7 +76,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) { "2>/dev/null | xargs -0r chmod 644"); # ..and header files .. - complex_doit("find $tmp/usr/include -type f $find_options -print0", + complex_doit("find $tmp/usr/include -type f $find_options -print0", + "2>/dev/null | xargs -0r chmod 644"); + + # ..and desktop files .. + complex_doit("find $tmp/usr/share/applications -type f $find_options -print0", "2>/dev/null | xargs -0r chmod 644"); # .. and perl modules.