History log of /openbsd-current/bin/chmod/chmod.1
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.43 02-Sep-2019 deraadt

More correction of section 3 layout. directory->opendir, fts->fts_open,
getcap->cgetent. pwcache->user_from_uid. And then repair references.
ok jmc


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.42 07-Jun-2017 jmc

X is not restricted to just the + operator;

diff from klemens nanni
confirmed by otto


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.41 31-Dec-2015 guenther

Document the -h option for chmod and chflags, rewording the chgrp(1) and
chown(8) manpages to be consistent and clearer about it as well.


Revision tags: OPENBSD_5_8_BASE
# 1.40 13-Mar-2015 jmc

remove the first comma from constructs like ", and," and ", or,": you can use
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;


Revision tags: OPENBSD_5_7_BASE
# 1.39 13-Dec-2014 guenther

Correct the handling of symbolic links by chmod/chgrp/chown/chflags,
making them more resistant to TOCTOU race conditions too.

ok tobias@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.38 25-Jan-2014 jmc

sticky bit is marked xsi;


# 1.37 21-Jan-2014 jmc

- remove brackets in -H description: the information is quite relevant
- note that not following sym links is default for -R
- improve the description of -R, providing a mnemonic and a simpler
description of what it does. also make the text for all these pages
identical, as far as is possible

ok millert schwarze


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.36 13-Jul-2011 sobrado

ellipsis is not an optional argument; replace ".Ar file ..." -> ".Ar";
simplify the symbolic modes format.

ok (and fine-tuned by) jmc@, millert@


Revision tags: OPENBSD_4_9_BASE
# 1.35 03-Sep-2010 jmc

add an EXIT STATUS section for /bin;


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.34 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


# 1.33 04-Jan-2009 sobrado

replace hardcoded exit values with .Ex macros;

ok jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.32 31-May-2007 jmc

convert to new .Dd format;


# 1.31 29-May-2007 jmc

- consistent STANDARDS blurb
- note which options are extensions to POSIX

discussed w/ deraadt otto millert


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.30 26-Jan-2006 jmc

`t' and `X' are now included in posix spec;
bump the revision for the latest posix spec;

problem reported by jonathan glaschke;
ok millert


# 1.29 15-Oct-2005 jmc

standardise EXAMPLES;


# 1.28 15-Oct-2005 jmc

- fix SYNOPSIS blip
- put description of -R in the right place
- remove unneeded .Pp


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.27 14-Feb-2004 jmc

remove some unneeded .Fl's;


Revision tags: OPENBSD_3_4_BASE
# 1.26 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.25 01-Jun-2003 millert

Undo a misguided attempt to fix speling errors from long ago. UCB
copyrights say "acknowledgement", not "acknowledgment". You cannot
just go changing the text of a license willy-nilly.


Revision tags: OPENBSD_3_3_BASE
# 1.24 12-Mar-2003 deraadt

more .Li


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.23 11-Feb-2002 mpech

Initial patch.
When you give command examples in a manual page prefix them with
$ command
or
# command

deraadt@ ok


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.22 15-Feb-2001 aaron

Fix confusing formatting of an example.


# 1.21 10-Nov-2000 aaron

Use better grammar.


Revision tags: OPENBSD_2_8_BASE
# 1.20 18-Oct-2000 aaron

Add some rudimentary EXAMPLES sections and standardize the way we display
existing EXAMPLES sections.


# 1.19 10-Jul-2000 aaron

Xr chflags(1)


Revision tags: OPENBSD_2_7_BASE
# 1.18 15-Apr-2000 aaron

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.


# 1.17 21-Mar-2000 aaron

Add HISTORY sections; from FreeBSD. Information originally obtained from
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".


# 1.16 17-Mar-2000 aaron

Remove hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.15 23-Sep-1999 aaron

Minor tweaks. Add Xr to find(1); espie@


# 1.14 23-Sep-1999 aaron

Improve this man page significantly; more helpful, easier to read, and easier
to learn how chmod(1) works. Oh, and trash those useless BNF grammars.


# 1.13 04-Jul-1999 aaron

trash some old leftover macros and replace them with -mdoc macros


# 1.12 30-May-1999 aaron

repairs


# 1.11 16-May-1999 alex

Cleanup xrefs under SEE ALSO. Specifically:

- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.


Revision tags: OPENBSD_2_5_BASE
# 1.10 25-Mar-1999 aaron

SEE ALSO .Xr's go in lexigraphical order


# 1.9 03-Mar-1999 aaron

1. Cleanup.
2. Xr sticky(8) and chgrp(1).
3. Mention not to confuse ``o'' symbol (others) for owner (``u'').
4. Describe the meaning of the directory search bit.
5. Briefly warn about adding suid/sgid bits to binaries.


# 1.8 15-Dec-1998 aaron

always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net


# 1.7 28-Nov-1998 aaron

start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one
it's given)


# 1.6 06-Nov-1998 aaron

use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and future
processing); kill redundant .Pp macros; other misc fixes


Revision tags: OPENBSD_2_4_BASE
# 1.5 14-Sep-1998 aaron

First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS
cleanups, other miscellaneous typos.


Revision tags: OPENBSD_2_3_BASE
# 1.4 17-Nov-1997 deraadt

proper .Xr


# 1.3 08-Nov-1997 todd

spelling


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 23-Jun-1996 deraadt

update rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_2_BASE
# 1.42 07-Jun-2017 jmc

X is not restricted to just the + operator;

diff from klemens nanni
confirmed by otto


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.41 31-Dec-2015 guenther

Document the -h option for chmod and chflags, rewording the chgrp(1) and
chown(8) manpages to be consistent and clearer about it as well.


Revision tags: OPENBSD_5_8_BASE
# 1.40 13-Mar-2015 jmc

remove the first comma from constructs like ", and," and ", or,": you can use
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;


Revision tags: OPENBSD_5_7_BASE
# 1.39 13-Dec-2014 guenther

Correct the handling of symbolic links by chmod/chgrp/chown/chflags,
making them more resistant to TOCTOU race conditions too.

ok tobias@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.38 25-Jan-2014 jmc

sticky bit is marked xsi;


# 1.37 21-Jan-2014 jmc

- remove brackets in -H description: the information is quite relevant
- note that not following sym links is default for -R
- improve the description of -R, providing a mnemonic and a simpler
description of what it does. also make the text for all these pages
identical, as far as is possible

ok millert schwarze


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.36 13-Jul-2011 sobrado

ellipsis is not an optional argument; replace ".Ar file ..." -> ".Ar";
simplify the symbolic modes format.

ok (and fine-tuned by) jmc@, millert@


Revision tags: OPENBSD_4_9_BASE
# 1.35 03-Sep-2010 jmc

add an EXIT STATUS section for /bin;


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.34 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


# 1.33 04-Jan-2009 sobrado

replace hardcoded exit values with .Ex macros;

ok jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.32 31-May-2007 jmc

convert to new .Dd format;


# 1.31 29-May-2007 jmc

- consistent STANDARDS blurb
- note which options are extensions to POSIX

discussed w/ deraadt otto millert


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.30 26-Jan-2006 jmc

`t' and `X' are now included in posix spec;
bump the revision for the latest posix spec;

problem reported by jonathan glaschke;
ok millert


# 1.29 15-Oct-2005 jmc

standardise EXAMPLES;


# 1.28 15-Oct-2005 jmc

- fix SYNOPSIS blip
- put description of -R in the right place
- remove unneeded .Pp


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.27 14-Feb-2004 jmc

remove some unneeded .Fl's;


Revision tags: OPENBSD_3_4_BASE
# 1.26 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.25 01-Jun-2003 millert

Undo a misguided attempt to fix speling errors from long ago. UCB
copyrights say "acknowledgement", not "acknowledgment". You cannot
just go changing the text of a license willy-nilly.


Revision tags: OPENBSD_3_3_BASE
# 1.24 12-Mar-2003 deraadt

more .Li


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.23 11-Feb-2002 mpech

Initial patch.
When you give command examples in a manual page prefix them with
$ command
or
# command

deraadt@ ok


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.22 15-Feb-2001 aaron

Fix confusing formatting of an example.


# 1.21 10-Nov-2000 aaron

Use better grammar.


Revision tags: OPENBSD_2_8_BASE
# 1.20 18-Oct-2000 aaron

Add some rudimentary EXAMPLES sections and standardize the way we display
existing EXAMPLES sections.


# 1.19 10-Jul-2000 aaron

Xr chflags(1)


Revision tags: OPENBSD_2_7_BASE
# 1.18 15-Apr-2000 aaron

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.


# 1.17 21-Mar-2000 aaron

Add HISTORY sections; from FreeBSD. Information originally obtained from
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".


# 1.16 17-Mar-2000 aaron

Remove hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.15 23-Sep-1999 aaron

Minor tweaks. Add Xr to find(1); espie@


# 1.14 23-Sep-1999 aaron

Improve this man page significantly; more helpful, easier to read, and easier
to learn how chmod(1) works. Oh, and trash those useless BNF grammars.


# 1.13 04-Jul-1999 aaron

trash some old leftover macros and replace them with -mdoc macros


# 1.12 30-May-1999 aaron

repairs


# 1.11 16-May-1999 alex

Cleanup xrefs under SEE ALSO. Specifically:

- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.


Revision tags: OPENBSD_2_5_BASE
# 1.10 25-Mar-1999 aaron

SEE ALSO .Xr's go in lexigraphical order


# 1.9 03-Mar-1999 aaron

1. Cleanup.
2. Xr sticky(8) and chgrp(1).
3. Mention not to confuse ``o'' symbol (others) for owner (``u'').
4. Describe the meaning of the directory search bit.
5. Briefly warn about adding suid/sgid bits to binaries.


# 1.8 15-Dec-1998 aaron

always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net


# 1.7 28-Nov-1998 aaron

start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one
it's given)


# 1.6 06-Nov-1998 aaron

use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and future
processing); kill redundant .Pp macros; other misc fixes


Revision tags: OPENBSD_2_4_BASE
# 1.5 14-Sep-1998 aaron

First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS
cleanups, other miscellaneous typos.


Revision tags: OPENBSD_2_3_BASE
# 1.4 17-Nov-1997 deraadt

proper .Xr


# 1.3 08-Nov-1997 todd

spelling


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 23-Jun-1996 deraadt

update rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision