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