SHTOOL-FIXPERM.TMP(1)

πŸ“¦
version 2.0.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ 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