#1108493 dash: manpage misspells named -o option `privileged` as `priviliged`

Package:
dash
Source:
dash
Description:
POSIX-compliant shell
Submitter:
Jean-Paul Larocque
Date:
2025-06-29 17:35:02 UTC
Severity:
normal
#1108493#5
Date:
2025-06-29 17:24:28 UTC
From:
To:
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