Bug 236407 - typo in the man page for chmod
Summary: typo in the man page for chmod
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: Gordon Tetlow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-09 00:25 UTC by brian saia
Modified: 2019-03-09 00:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian saia 2019-03-09 00:25:46 UTC
when describing the 'op' symbols, specifically the '-' option; the following line

"creation mask is clear, is cleared.  Otherwise, the mode bits"

should be changed to 

"creation mask is set, is cleared.  Otherwise, the mode bits"

the minus '-' clears bits which are set so the documentation needs to be corrected.

the more command says this line is at byte 6382.
Comment 1 Gordon Tetlow freebsd_committer freebsd_triage 2019-03-09 00:29:33 UTC
Brian is sitting next to me at SCALE 17x. I'll fix this real quick.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-03-09 00:30:47 UTC
A commit references this bug:

Author: gordon
Date: Sat Mar  9 00:30:14 UTC 2019
New revision: 344952
URL: https://svnweb.freebsd.org/changeset/base/344952

Log:
  Correct wording around '-' masks.

  PR:		236407
  Reported by:	Brian Saia
  MFC after:	1 week

Changes:
  head/bin/chmod/chmod.1