---
name: "shtool-fixperm"
section: "1"
platform: "linux"
package: "shtool"
version: "2.0.8-10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/shtool-fixperm"
---

# shtool-fixperm(1)

GNU shtool file permission fixing command

## NAME

shtool-fixperm - GNU shtool file permission fixing command

## SYNOPSIS

**shtool fixperm** \[**-v**\|**--verbose**\] \[**-t**\|**--trace**\] *path* \[*path* ...\]

## DESCRIPTION

**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.

## EXAMPLE

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

## HISTORY

The **GNU shtool** **fixperm** command was originally written by Ralf S. Engelschall \<rse@engelschall.com\> in 1996 for *OSSP eperl*. It was later taken over into **GNU shtool**.

## SEE ALSO

[**shtool**(1)](/shtool/1.md), [**chmod**(1)](/chmod/1.md).
