shtool-fixperm(1)

shtool-fixperm1

Gnu shtool file permission fixing command

Usage

shtool fixperm [{-v | --verbose}] [{-t | --trace}] path [path ...]

Overview

shtool fixperm fixes file permissions inside a source tree under path by cleaning up the permission bits. It determines the cleaned up permission from the already set bits. It is intended to be run before a tarball is rolled (usually with shtool tarball) out of a source tree. The trick is that this is more convenient than having to set the permissions manually or by using a large file list.

Options

The following command line options are available.

-v, --verbose

Display some processing information.

-t, --trace

Enable the output of the essential shell commands which are executed.

Examples

 #   Makefile.in
 dist:
     shtool fixperm -v *
     ...

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–8
  5. 9–10
  6. 11–13

History

The GNU shtool fixperm command was originally written by Ralf S. Engelschall <[email protected]> in 1996 for OSSP eperl. It was later taken over into GNU shtool.

From shtool 2.0.8-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.