Page MenuHomeFreeBSD

pw(8): Brace the name-or-id synopsis so it matches the code
ClosedPublic

Authored by dteske on Mon, Sep 7, 3:11 AM.
Tags
None
Referenced Files
F171289809: D59472.id.diff
Thu, Sep 10, 4:27 AM
F171283337: D59472.id186109.diff
Thu, Sep 10, 3:16 AM
F171271083: D59472.id186098.diff
Thu, Sep 10, 12:37 AM
F171222474: D59472.diff
Wed, Sep 9, 3:22 PM
F171209527: D59472.id186109.diff
Wed, Sep 9, 1:19 PM
Unknown Object (File)
Wed, Sep 9, 4:10 AM
Unknown Object (File)
Tue, Sep 8, 12:41 PM
Unknown Object (File)
Tue, Sep 8, 12:34 PM
Subscribers

Details

Summary

An unbraced pipe list made -n look like it could take a uid (or gid).
Use braces for a single choice of name or id, and keep -u newuid /
-g newgid on the name invocation only. Drop the USER/GROUP OPTIONS
sentences that said -n could be a numeric id.

PR: 269193
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76622
Build 73505: arc lint + arc unit