95 lines
2.6 KiB
HTML
95 lines
2.6 KiB
HTML
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<HTML><HEAD><TITLE>Man page of DH_FIXPERMS</TITLE>
|
||
</HEAD><BODY>
|
||
<H1>DH_FIXPERMS</H1>
|
||
Section: Debhelper (1)<BR>Updated: 2020-03-27<BR><A HREF="#index">Index</A>
|
||
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<A NAME="lbAB"> </A>
|
||
<H2>NAME</H2>
|
||
|
||
dh_fixperms - fix permissions of files in package build directories
|
||
<A NAME="lbAC"> </A>
|
||
<H2>SYNOPSIS</H2>
|
||
|
||
|
||
|
||
<B>dh_fixperms</B> [<I>debhelper options</I>] [<B>-X</B><I>item</I>]
|
||
<A NAME="lbAD"> </A>
|
||
<H2>DESCRIPTION</H2>
|
||
|
||
|
||
|
||
<B>dh_fixperms</B> is a debhelper program that is responsible for setting the
|
||
permissions of files and directories in package build directories to a
|
||
sane state --- a state that complies with Debian policy.
|
||
<P>
|
||
|
||
<B>dh_fixperms</B> makes all files in <I>usr/share/doc</I> in the package
|
||
build directory (excluding files in the <I>examples/</I> directory) be
|
||
mode 644. It also changes the permissions of all man pages to mode
|
||
644. It removes group and other write permission from all files. It
|
||
removes execute permissions from any libraries, headers, Perl modules,
|
||
or desktop files that have it set. It makes all files in the standard
|
||
<I>bin</I> and <I>sbin</I> directories, <I>usr/games/</I> and <I>etc/init.d</I>
|
||
executable (since v4). Finally, it removes the setuid and setgid bits
|
||
from all files in the package.
|
||
<P>
|
||
|
||
When the <I>Rules-Requires-Root</I> field has the (effective) value of
|
||
<I>binary-targets</I>, <B>dh_fixperms</B> will also reset the ownership of
|
||
all paths to ``root:root''.
|
||
<A NAME="lbAE"> </A>
|
||
<H2>OPTIONS</H2>
|
||
|
||
|
||
|
||
<DL COMPACT>
|
||
<DT id="1"><B>-X</B><I>item</I>, <B>--exclude</B> <I>item</I><DD>
|
||
|
||
|
||
Exclude files that contain <I>item</I> anywhere in their filename from having
|
||
their permissions changed. You may use this option multiple times to build
|
||
up a list of things to exclude.
|
||
</DL>
|
||
<A NAME="lbAF"> </A>
|
||
<H2>SEE ALSO</H2>
|
||
|
||
|
||
|
||
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
|
||
<P>
|
||
|
||
This program is a part of debhelper.
|
||
<A NAME="lbAG"> </A>
|
||
<H2>AUTHOR</H2>
|
||
|
||
|
||
|
||
Joey Hess <<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>>
|
||
<P>
|
||
|
||
<HR>
|
||
<A NAME="index"> </A><H2>Index</H2>
|
||
<DL>
|
||
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
||
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
||
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
||
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
||
<DT id="6"><A HREF="#lbAF">SEE ALSO</A><DD>
|
||
<DT id="7"><A HREF="#lbAG">AUTHOR</A><DD>
|
||
</DL>
|
||
<HR>
|
||
This document was created by
|
||
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||
using the manual pages.<BR>
|
||
Time: 00:05:10 GMT, March 31, 2021
|
||
</BODY>
|
||
</HTML>
|