1DH_FIXPERMS(1)                     Debhelper                    DH_FIXPERMS(1)
2
3
4

NAME

6       dh_fixperms - fix permissions of files in package build directories
7

SYNOPSIS

9       dh_fixperms [debhelperĀ options] [-Xitem]
10

DESCRIPTION

12       dh_fixperms is a debhelper program that is responsible for setting the
13       permissions of files and directories in package build directories to a
14       sane state -- a state that complies with Debian policy.
15
16       dh_fixperms makes all files in usr/share/doc in the package build
17       directory (excluding files in the examples/ directory) be mode 644. It
18       also changes the permissions of all man pages to mode 644. It removes
19       group and other write permission from all files. It removes execute
20       permissions from any libraries, headers, Perl modules, or desktop files
21       that have it set. It makes all files in the standard bin and sbin
22       directories, usr/games/ and etc/init.d executable (since v4). Finally,
23       it removes the setuid and setgid bits from all files in the package.
24
25       When the Rules-Requires-Root field has the (effective) value of binary-
26       targets, dh_fixperms will also reset the ownership of all paths to
27       "root:root".
28

OPTIONS

30       -Xitem, --exclude item
31           Exclude files that contain item anywhere in their filename from
32           having their permissions changed. You may use this option multiple
33           times to build up a list of things to exclude.
34

SEE ALSO

36       debhelper(7)
37
38       This program is a part of debhelper.
39

AUTHOR

41       Joey Hess <joeyh@debian.org>
42
43
44
4513.11.4                           2023-01-22                    DH_FIXPERMS(1)
Impressum