diff options
author | joey <joey> | 2004-04-12 22:35:13 +0000 |
---|---|---|
committer | joey <joey> | 2004-04-12 22:35:13 +0000 |
commit | 0421f40bd9885680ce6e90c9f641e7f76a8fb554 (patch) | |
tree | 32cbf75b810cec04a70e08cacc2ee2ce6e8bee24 /dh_fixperms | |
parent | 9a6d3b1df363f242a7dce9879a84981219a3d73d (diff) |
r1679: * Spanish translation of dh_installppp from Ruben Porras. Closes: #240844
* dh_fixperms: Make executable files in /usr/games. Closes: #243404
Diffstat (limited to 'dh_fixperms')
-rwxr-xr-x | dh_fixperms | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dh_fixperms b/dh_fixperms index 34a385bc..738033e2 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -21,11 +21,12 @@ sane state -- a state that complies with Debian policy. 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 and etc/init.d executable (v4 only). Finally, -it removes the setuid and setgid bits from all files in the package. +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 (v4 +only). Finally, it removes the setuid and setgid bits from all files in the +package. =head1 OPTIONS @@ -82,7 +83,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # v4 only if (! compat(3)) { # Programs in the bin and init.d dirs should be executable.. - for my $dir (qw{usr/bin bin usr/sbin sbin etc/init.d}) { + for my $dir (qw{usr/bin bin usr/sbin sbin usr/games etc/init.d}) { if (-d "$tmp/$dir") { complex_doit("find $tmp/$dir -type f $find_options -print0 2>/dev/null", "| xargs -0r chmod +x"); |