summaryrefslogtreecommitdiffstats
path: root/bin/chmod
Commit message (Collapse)AuthorAgeFilesLines
* Optimize out no-op chmod() syscalls.peter2000-07-291-2/+5
|
* Don't call warn() with no format string. This is potentially exploitable, ↵kris2000-07-101-1/+1
| | | | | | although it would be difficult both technically and in practise.
* From the PR:unfurl2000-02-171-4/+4
| | | | | | | | | | | | | | | Three minor changes to the manpage of chmod(1). 1. At the description of -H option, I added that symlinks are not followed _by default_ to show that links can be followed, but the default chmod behavior is not to do so. 2. Moved a misplaced .Va file command up to the place it belongs. 3. Simplified the grammar that describes symbolic modes. PR: 16749 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* Default to not -v.obrien1999-11-281-2/+2
| | | | Fix usage() style bug spotted by BDE.
* Add "-v".obrien1999-11-272-2/+18
|
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* Sort cross-references. Move mount(8) down the list where it belongs, inchris1999-08-251-2/+2
| | | | particular.
* Bad reference of mount(1) changed to mount(8).chris1999-08-141-3/+3
|
* Document -f flag:chris1999-08-082-4/+10
| | | | | -f Do not display a diagnostic message if chmod could not modify the mode for file.
* Various spelling/formatting changes.kris1999-05-081-2/+2
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Free memory obtained from setmode.imp1998-12-161-1/+2
| | | | Obtained from: OpenBSD
* Improve description of absolute modes.jkoshy1998-05-191-20/+46
| | | | | Submitted by: Josh Gilliam <josh@quick.net> PR: 6634
* Restore original Lite-2 sccsid. Restore include of sys/types.h.charnier1998-05-131-2/+3
|
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-062-8/+9
|
* Reviewed by: hackers@freebsd.org in generaljulian1997-11-131-2/+6
| | | | | | | | | | | | | Obtained from: Whistle Communications tree Add an option to the way UFS works dependent on the SUID bit of directories This changes makes things a whole lot simpler on systems running as fileservers for PCs and MACS. to enable the new code you must 1/ enable option SUIDDIR on the kernel. 2/ mount the filesystem with option suiddir. hopefully this makes it difficult enough for people to do this accidentally. see the new chmod(2) man page for detailed info.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Cleanup man page and -Wall cleaning.steve1996-12-142-5/+6
|
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+6
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* chmod(2) directories once only (was twice)adam1996-08-101-6/+5
|
* Add an .Xr for chflags(1) into the SEE ALSO sectoin.joerg1996-02-161-1/+2
| | | | Submitted by: jhs
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-191-1/+3
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Include <limits.h> to get the definition of INT_MAX - don't depend onbde1995-02-031-1/+2
| | | | namespace pollution in <time.h>.
* Added $Id$dg1994-09-243-0/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+500
OpenPOWER on IntegriCloud