]> git.donarmstrong.com Git - debhelper.git/blob - dh_fixperms.1
r424: typo
[debhelper.git] / dh_fixperms.1
1 .TH DH_FIXPERMS 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_fixperms \- fix permissions of files in package build directories
4 .SH SYNOPSIS
5 .B dh_fixperms
6 .I "[debhelper options] [-Xitem]"
7 .SH "DESCRIPTION"
8 dh_fixperms is a debhelper program that is responsible for setting the
9 permissions of files and directories in package build directories to a
10 sane state -- a state that complies with Debian policy.
11 .P
12 dh_fixperms makes all files in usr/share/doc in the package build directory
13 (excluding files in the examples/ directory) be mode 644. It also changes
14 the permissions of all man pages to mode 644. It makes all files be owned by
15 root, and it removes group and other write permission from all files.
16 It removes execute permissions from any libraries that have it set. Finally,
17 it removes the setuid and setgid bits from all files in the package.
18 .SH OPTIONS
19 .TP
20 .B debhelper options
21 See
22 .BR debhelper (1)
23 for a list of options common to all debhelper commands.
24 .TP
25 .B \-Xitem, \--exclude=item
26 Exclude files that contain "item" anywhere in their filename from having
27 their permissions changed. You may use this option multiple times to build
28 up a list of things to exclude.
29 .SH ENVIRONMENT
30 See
31 .BR debhelper (1)
32 for a list of environment variables that affect all debhelper commands.
33 .SH "SEE ALSO"
34 .BR debhelper (1)
35 .SH "CONFORMS TO"
36 Debian policy, version 3.0.1
37 .SH AUTHOR
38 Joey Hess <joeyh@debian.org>