| History log of /src/bin/chmod |
| Revision | Date | Author | Comments |
| 1.8 | 20-Jul-1997 |
christos | branches: 1.8.112; Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc now that all /bin has been cleaned.
|
| 1.7 | 20-Jul-1997 |
thorpej | Build with WARNS.
|
| 1.6 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
| 1.5 | 20-Sep-1994 |
mycroft | Merge with 4.4-Lite.
|
| 1.4 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
| 1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 20-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.8.112.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
| 1.8.112.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
| 1.29 | 05-May-2023 |
kre | If chown and chgrp can grow -d flags to suppress performing the operation when it will have no effect (other than changing the inode's ctime value) then chmod and chflags should also have -d flags for the same purpose. Make it so.
|
| 1.28 | 04-Jul-2017 |
wiz | branches: 1.28.6; Use Ex.
|
| 1.27 | 03-Jul-2017 |
wiz | Remove workaround for ancient HTML generation code.
|
| 1.26 | 11-Aug-2016 |
sevan | Document the version chmod first appeared. Bump date.
|
| 1.25 | 17-Dec-2013 |
apb | In all man pages that say:
The -H, -L and -P options are ignored unless the -R option is specified. In addition, these options override each other and the command's actions are determined by the last one specified.
Add:
The default is as if the -P option had been specified.
|
| 1.24 | 22-Oct-2012 |
christos | add --reference=rfile
|
| 1.23 | 22-Jan-2010 |
snj | branches: 1.23.6; 1.23.12; Document "-f". From Andreas Wiese in PR bin/35409, slightly modified.
|
| 1.22 | 24-Mar-2009 |
joerg | Remove physical markup.
|
| 1.21 | 09-Dec-2005 |
wiz | branches: 1.21.28; Add xref to chflags(1). From Andre Luiz de Oliveira in PR 32265.
|
| 1.20 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
| 1.19 | 20-Jan-2003 |
enami | Start new paragraph after options are listed.
|
| 1.18 | 07-Jul-2002 |
bjh21 | Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7), IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks on the command line and changing their targets' modes/ownership/flags, rather than ignoring them.
This fixes PR standards/563 (at last).
|
| 1.17 | 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
| 1.16 | 20-Dec-2001 |
wiz | Sort sections, drop unnecessary .Pps.
|
| 1.15 | 14-Oct-2000 |
bjh21 | The "X" permission _is_ specified by POSIX.2.
|
| 1.14 | 04-Sep-2000 |
kleink | For commands and utilities, use EXIT STATUS rather than RETURN VALUES as appropriate (and documented in mdoc(7)).
|
| 1.13 | 28-Aug-2000 |
hubertf | Add 'RETURN VALUE' section header.
|
| 1.12 | 05-Feb-2000 |
enami | branches: 1.12.4; Sync wi/ what mdoc.samples(7) says: - The default argument of Ar macro is file ... - Use or Ap ing.
|
| 1.11 | 20-Oct-1997 |
enami | Fix .Nm usage.
|
| 1.10 | 06-Oct-1997 |
enami | Document -h flag, option to manupilate symbolic link.
|
| 1.9 | 23-Jun-1997 |
pk | Use .Xr (from PR#3627)
|
| 1.8 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
| 1.7 | 20-Sep-1994 |
mycroft | Merge with 4.4-Lite.
|
| 1.6 | 10-Feb-1994 |
cgd | add some info about u, g, o perm specs
|
| 1.5 | 11-Jan-1994 |
jtc | Fix spelling errors.
|
| 1.4 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
| 1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 20-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.4.1 | 28-Aug-2000 |
hubertf | Pull up to netbsd-1-5 branch, OK'd by thorpej:
Log Message: > Add 'RETURN VALUE' section header.
Files & Revisionis: > cvs rdiff -r1.19 -r1.20 basesrc/bin/cat/cat.1 > cvs rdiff -r1.12 -r1.13 basesrc/bin/chmod/chmod.1 > cvs rdiff -r1.14 -r1.15 basesrc/bin/cp/cp.1 > cvs rdiff -r1.8 -r1.9 basesrc/bin/dd/dd.1 > cvs rdiff -r1.9 -r1.10 basesrc/bin/echo/echo.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/expr/expr.1 > cvs rdiff -r1.25 -r1.26 basesrc/bin/ls/ls.1 > cvs rdiff -r1.10 -r1.11 basesrc/bin/mkdir/mkdir.1 > cvs rdiff -r1.23 -r1.24 basesrc/bin/mt/mt.1 > cvs rdiff -r1.12 -r1.13 basesrc/bin/mv/mv.1 > cvs rdiff -r1.16 -r1.17 basesrc/bin/pwd/pwd.1 > cvs rdiff -r1.9 -r1.10 basesrc/bin/rm/rm.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/rmdir/rmdir.1 > cvs rdiff -r1.35 -r1.36 basesrc/bin/sh/sh.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/sleep/sleep.1 > cvs rdiff -r1.20 -r1.21 basesrc/bin/stty/stty.1
|
| 1.21.28.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.23.12.2 | 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.23.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.23.6.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.23.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.28.6.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
| 1.28.6.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
| 1.39 | 05-May-2023 |
kre | If chown and chgrp can grow -d flags to suppress performing the operation when it will have no effect (other than changing the inode's ctime value) then chmod and chflags should also have -d flags for the same purpose. Make it so.
|
| 1.38 | 22-Oct-2012 |
christos | branches: 1.38.32; fix argument parsing.
|
| 1.37 | 22-Oct-2012 |
christos | add --reference=rfile
|
| 1.36 | 29-Aug-2011 |
joerg | branches: 1.36.2; 1.36.8; Use __dead
|
| 1.35 | 22-Jan-2010 |
snj | Document "-f". From Andreas Wiese in PR bin/35409, slightly modified.
|
| 1.34 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.33 | 01-Oct-2005 |
christos | branches: 1.33.20; Now that setmode() is fixed, handle errors with err instead errx.
|
| 1.32 | 04-Jan-2004 |
jschauma | Remove unused code left over from temporary printescaped functionality. Noted by Jeff Ito in PR bin/23967.
|
| 1.31 | 14-Sep-2003 |
jschauma | Following private discussion with kleink@ and hubertf@ and public discussion on tech-userlevel@, back out printescaped() functionality. kleink: ``We sell rope.''
|
| 1.30 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
| 1.29 | 04-Aug-2003 |
jschauma | As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage from being printed if the filename contains control- or other non-printable characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
|
| 1.28 | 07-Jul-2002 |
bjh21 | Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7), IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks on the command line and changing their targets' modes/ownership/flags, rather than ignoring them.
This fixes PR standards/563 (at last).
|
| 1.27 | 31-May-2002 |
bjh21 | Fix a comment: POSIX doesn't specify -h.
|
| 1.26 | 16-Sep-2001 |
wiz | ANSIfy, use {s,g}etprogname and other KNF. Patch by Petri Koistinen.
|
| 1.25 | 10-Oct-2000 |
enami | Printing argv[0] on fts_open failure doesn't make sense. Just print ``fts_open'' instead.
|
| 1.24 | 06-Sep-2000 |
enami | Remove a hack to prevent unwanted gcc -Wuninitialized warning; it's now unnecessary since the code path is simple enough after rev. 1.21.
|
| 1.23 | 07-Jul-2000 |
itojun | do not pass user-supplied string alone, to errx?(). use "%s". from openbsd.
|
| 1.22 | 20-Jan-2000 |
mycroft | branches: 1.22.4; Oops; remove unused variables.
|
| 1.21 | 20-Jan-2000 |
mycroft | Just use setmode(3); don't special-case numeric values.
|
| 1.20 | 28-Jul-1998 |
mycroft | Delint.
|
| 1.19 | 28-Jul-1998 |
mycroft | Delint.
|
| 1.18 | 28-Jul-1998 |
mycroft | Delint.
|
| 1.17 | 11-Oct-1997 |
enami | Add -h to usage.
|
| 1.16 | 06-Oct-1997 |
enami | Change noop option -h to do the real work. Now mode of symbolic link is changed if -h option is given.
|
| 1.15 | 06-Oct-1997 |
enami | Don't pass the pathname itself as format string of warn(). Instead, use "%s".
|
| 1.14 | 20-Jul-1997 |
thorpej | - Use __COPYRIGHT() and __RCSID(). - Fix compiler warnings.
|
| 1.13 | 26-Jun-1997 |
kleink | POSIX.2 utilities must call setlocale(LC_ALL, "");
|
| 1.12 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
| 1.11 | 15-Jan-1995 |
mycroft | Change directory permissions in pre-order.
|
| 1.10 | 20-Sep-1994 |
mycroft | Need limits.h.
|
| 1.9 | 20-Sep-1994 |
mycroft | Merge with 4.4-Lite.
|
| 1.8 | 11-Feb-1994 |
cgd | don't barf over strange mode specs
|
| 1.7 | 06-Aug-1993 |
mycroft | Incorporate new version from uunet, with local changes.
|
| 1.6 | 05-Aug-1993 |
deraadt | change for new fts library
|
| 1.5 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.4 | 07-Jun-1993 |
deraadt | chmod.0 says: Symbolic links are not indirected through, nor are their modes altered. things were much worse. it would try to chmod() symbolic links, in some cases applying the modes of the symbolic link to the file that it pointed to.
|
| 1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
| 1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 20-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.22.4.1 | 27-Jul-2000 |
itojun | pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd.
/cvsroot/basesrc/bin/dd/conv.c 1.8 -> 1.9 /cvsroot/basesrc/bin/cp/cp.c 1.29 -> 1.30 /cvsroot/basesrc/bin/chmod/chmod.c 1.22 -> 1.23
|
| 1.33.20.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.36.8.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.36.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.38.32.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
| 1.38.32.1 | 21-Apr-2020 |
martin | Sync with HEAD
|