History log of /src/bin/chmod/chmod.c |
Revision | | Date | Author | Comments |
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
|