Manpages

名 前

dh_fixperms - パ ッ ケ ー ジ ビ ル ド デ ィ レ ク ト リ 内 の フ ァ イ ル 権 限 を 修 正 す る

書 式

dh_fixperms [debhelper options] [-Xitem]

説 明

dh_fixperms は パ ッ ケ ー ジ ビ ル ド デ ィ レ ク ト リ 配 下 で フ ァ イ ル と デ ィ レ ク ト リ の 権 限 を 設 定 す る 役 割 の debhelper プ ロ グ ラ ム で す 。 ま た 、 設 定 さ れ る 権 限 は 正 し い も の 、 つ ま り Debian ポ リ シ ー に 従 っ て 設 定 さ れ ま す 。

dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ 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 bin and sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, it removes the setuid and setgid bits from all files in the package.

When the Rules-Requires-Root field has the (effective) value of binary-targets, dh_fixperms will also reset the ownership of all paths to "root:root".

オ プ シ ョ ン

-Xitem, --exclude item パ ー ミ ッ シ ョ ン の 変 更 対 象 の フ ァ イ ル か ら 、 item を フ ァ イ ル 名 の 一 部 に 持 つ も の を 除 外 し ま す 。 除 外 対 象 を 列 挙 し た い 場 合 は 、 こ の オ プ シ ョ ン を 複 数 回 指 定 し ま す 。

参 照

debhelper(7) こ の プ ロ グ ラ ム は debhelper の 一 部 で す 。

作 者

Joey Hess <joeyh [AT] debian.org>