Package: dash
Version: 0.5.12-2
Severity: minor

While reading dash(1) today, I noticed this under the section "Argument List
Processing":

           -p priviliged    Do not attempt to reset effective uid if it does
                            not match uid. This is not set by default to help
                            avoid incorrect usage by setuid root programs via
                            system(3) or popen(3).

`priviliged` is a misspelling; this should be `privileged`.  Thankfully, this
misspelling only appears in the man page, so fixing this shouldn't break
anybody's scripts:

    $ dash -o priviliged -c :
    dash: 0: Illegal option -o priviliged
    $ dash -o privileged -c :
    $ 

This appears to be a Debian-specific option.  I checked the current version of
the Debian patch at
https://salsa.debian.org/debian/dash/-/blob/c9f02094c18d7b365b09696778e97b620db2c302/debian/patches/9001-Add-privmode.diff
, and the typo still appears there, while `privileged` is still spelled
correctly in the code.

Thanks,
-Jean-Paul

-- System Information:
Debian Release: 12.11
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.22+bpo-amd64 (SMP w/28 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dash depends on:
ii  debianutils  5.7-0.5~deb12u1
ii  dpkg         1.21.22
ii  libc6        2.36-9+deb12u10

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true

-- 
Jean-Paul Larocque (he/him) <jpl-debian-...@thoughtcrime.us>

Reply via email to