SHTOOL-FIXPERM.TMP(1)
β¨ shtool-fixperm β the GNU shtool file permission fixing command β¨
okay bestie, so this is SHTOOL-FIXPERM.TMP(1), a page from the GNU Portable Shell Tool manual, and it's literally all about making your source tree's permission bits look cute and tidy. no cap. let's get into it π
πΈ SYNOPSIS πΈ
shtool fixperm [-v|--verbose] [-t|--trace] path [path ...]
π¦ DESCRIPTION π¦
so shtool fixperm fixes file permissions inside a source tree under path by cleaning up the permission bits. it figures out the cleaned-up permission from the bits that are already set, which is the whole vibe.
it's meant to be run before a tarball is rolled (usually with shtool tarball) out of a source tree. and the trick, the moment, the slay, is that this is way more convenient than having to set the permissions manually or by using a large file list. like, imagine hand-typing a giant list. couldn't be me. π
π OPTIONS π
here's what you can pass it. the following command line options are available.
-v,--verboseβ display some processing information. she's chatty and we love that β¨-t,--traceβ enable the output of the essential shell commands which are executed. she's showing her work π
π 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. a true icon, periodt π
π SEE ALSO π
and that's the whole page bestie β this one's from shtool 2.0.8, dated 18-Jul-2008, and it lives under the name SHTOOL-FIXPERM.TMP(1) in the GNU Portable Shell Tool manual. go fix those perms, you absolute main character π«Άβ¨
π¦ where this page comes from
- debian bookworm: shtool 2.0.8-10 Β· GPL-2.0-or-later
- debian trixie: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu jammy: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu noble: shtool 2.0.8-10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms