]> git.donarmstrong.com Git - debhelper.git/blob - dh_fixperms.1
r24: Initial Import
[debhelper.git] / dh_fixperms.1
1 .TH DH_FIXPERMS 1
2 .SH NAME
3 dh_fixperms \- fix permissions of files in package build directories
4 .SH SYNOPSIS
5 .B dh_fixperms
6 .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
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 .SH OPTIONS
16 .TP
17 .B \-v
18 Verbose mode; show all commands that modify the package build directory.
19 .TP
20 .B \-a
21 Fix permissions for all architecture dependent packages.
22 .TP
23 .B \-i
24 Fix permissions for all architecture independent packages.
25 .TP
26 .B \-ppackage
27 Fix permissions for the package named "package".
28 .TP
29 .B \-Ptmpdir
30 Use "tmpdir" for package build directory. 
31 .SH NOTES
32 The
33 .B \-a
34 .B \-i
35 and
36 .B \-p
37 arguments are cumulative. If none are specified, then all packages listed in
38 the control file will have thier permissions fixed.
39 .SH ENVIRONMENT
40 .TP
41 .I DH_VERBOSE
42 Enables verbose mode
43 .SH "SEE ALSO"
44 .BR /usr/doc/debhelper/README
45 .SH "CONFORMS TO"
46 Debian policy, version 2.3.0.0
47 .SH AUTHOR
48 Joey Hess <joeyh@master.debian.org>