summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.c
AgeCommit message (Expand)Author
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2020-12-08fts_read: Handle error from a NULL return better.Bryan Drewery
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2017-01-08chmod: Add SIGINFO handlerConrad Meyer
2016-10-02"POSIX doesn't specify -h." - r1.27 from NetBSDSevan Janiyan
2015-06-04Change directory permissions in pre-order.Sergey Kandaurov
2015-04-29Standardise chmod, chflags, chown and chgrp recursive symlink processingSteven Hartland
2009-09-02- Don't include both <sys/types.h> and <sys/param.h>Edward Tomasz Napierala
2009-08-31Make the code more readable and fix chmod(1) on symlinks withEdward Tomasz Napierala
2009-07-01With NFSv4 ACLs, it is possible that applying a mode to an ACL whichEdward Tomasz Napierala
2009-06-23Staticify internal routines.Xin LI
2005-01-10/*- or .\"- or #- to begin license clauses.Warner Losh
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2003-12-16Print unambiguous paths with -R -v.Ruslan Ermilov
2003-10-31Remove the code for parsing octal modes, since setmode(3) alreadyAnton Berezin
2003-05-01Quiet warnings about copyright[].David E. O'Brien
2003-01-29Remove now unnecessary main() prototype.Maxime Henrion
2002-08-04Allow "-v -v" to mean very verbose.David E. O'Brien
2002-07-10err() is documented as allowing NULL for the format string but GCC isn'tMatthew Dillon
2002-06-30Consistently use __FBSDIDDavid E. O'Brien
2002-02-22Fix warnings inspired by lint, a commercial lint and WARNS=4Mark Murray
2002-02-02Modernization effort for bin/c*:Warner Losh
2001-05-31Fixed the bug from the previous revision.Ruslan Ermilov
2001-05-28Change noop option -h to do the real work. Now mode of symbolic linkRuslan Ermilov
2001-05-28Follow symbolic links named as command line arguments if run without -R.Ruslan Ermilov
2001-05-20Make this compile with WARNS=2Kris Kennaway
2000-07-29Optimize out no-op chmod() syscalls.Peter Wemm
2000-07-10Don't call warn() with no format string. This is potentially exploitable, alt...Kris Kennaway
1999-11-28Default to not -v.David E. O'Brien
1999-11-27Add "-v".David E. O'Brien
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-08-08Document -f flag:Chris Costello
1998-12-16Free memory obtained from setmode.Warner Losh
1998-05-13Restore original Lite-2 sccsid. Restore include of sys/types.h.Philippe Charnier
1998-05-06Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.Philippe Charnier
1997-03-28compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-12-14Cleanup man page and -Wall cleaning.Steve Price
1996-08-10chmod(2) directories once only (was twice)Adam David
1995-03-19You will find enclosed some changes to make gcc -Wall more happy inJoerg Wunsch
1995-02-03Include <limits.h> to get the definition of INT_MAX - don't depend onBruce Evans
1994-09-24Added $Id$David Greenman
1994-05-26BSD 4.4 Lite bin SourcesRodney W. Grimes