summaryrefslogtreecommitdiff
path: root/bin/chmod
AgeCommit message (Collapse)Author
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-01-26`t' and `X' are now included in posix spec;Jason McIntyre
bump the revision for the latest posix spec; problem reported by jonathan glaschke; ok millert
2006-01-25some warning reductionTed Unangst
2006-01-25an old diff from tech to convert to using strtonum and some other miscTed Unangst
cleanup. from ray at cyth net
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-10-15sync usage();Jason McIntyre
2005-10-15clean up SYNOPSIS;Jason McIntyre
sort options list;
2005-10-15standardise EXAMPLES;Jason McIntyre
2005-10-15simplify the .Ar file ... line;Jason McIntyre
2005-10-15- fix SYNOPSIS blipJason McIntyre
- put description of -R in the right place - remove unneeded .Pp
2005-10-15- tidy up SYNOPSISJason McIntyre
- sort options list - ellipsis implies optional args; no need for .Op
2005-10-15- put description of -R in the correct placeJason McIntyre
- ellipsis implies optional args; no need for .Op
2005-08-12of course, douglas' mail hits my machine 2 nanoseconds later...Jason McIntyre
the correct name for the sysctl is fs.posix.setuid, not fs.posix.suid; from douglas santos (pr #4462); apologies to douglas for closing his pr, but i just could not see it. if you are sending typo stuff, please be specific about the problem.
2005-03-16chown(8): mention that this utility clears setuid/setgid bits by default;Jason McIntyre
from stuart henderson (pr #4149); chown(2)/chown(8): mention that sysctl variable fs.posix.setuid=0 overrides this behaviour; from millert and otto; ok deraadt@ otto@ millert@
2004-09-28remove confusing sentence which suggests we usually run in single-userJason McIntyre
mode; instead correctly reference securelevel(7); based on a diff from han boetes; ok millert@
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-02-16If the user does "chown foo.bar" check to see if foo.bar is a usernameTodd C. Miller
before picking it apart into a username.group pair. OK deraadt@
2004-02-14remove some unneeded .Fl's;Jason McIntyre
2003-07-07- remove unnecessary -compact in a displayJason McIntyre
- use .Dl for a one-line display, not .Bd - simplify SYNOPSIS
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01Undo a misguided attempt to fix speling errors from long ago. UCBTodd C. Miller
copyrights say "acknowledgement", not "acknowledgment". You cannot just go changing the text of a license willy-nilly.
2003-05-29- merge COMPATIBILITY with STANDARDSJason McIntyre
- use .St for POSIX standard
2003-04-28typos;Jason McIntyre
suggestions, corrections and ok millert@
2003-03-12more .LiTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2001-09-06install relative symlinks, not absoluteMichael Shalayeff
2001-05-25Remove unnecessary .Nm args; mpech@prosoft.org.lvAaron Campbell
2001-02-15Fix confusing formatting of an example.Aaron Campbell
2000-11-10- Section shuffling.Aaron Campbell
- Some .Nm trimming. - Reword a sentence for consistency with the chmod(1) man page. - Insert a missing comma.
2000-11-10Use better grammar.Aaron Campbell
2000-11-09Insert some missing commas.Aaron Campbell
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-07-31make -h option work again, it was left out on the getopt stringEric Jackson
2000-07-31remove incorrect space, as enami@netbsd.orgPaul Janzen
2000-07-19merge chflags(1) into chmod.Michael Shalayeff
also, use new strtofflags, avoid ls/stat_flags.c usage. millert@ ok
2000-07-10Xr chflags(1)Aaron Campbell
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-10argh, not enough testing again; sigh@kuzirabekon.econ.nagasaki-u.ac.jpTheo de Raadt
2000-06-09oopsMichael Shalayeff
2000-06-09merge chown/chgrp into chmod.Michael Shalayeff
provide symlinks from old location for the time being.
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-21Add HISTORY sections; from FreeBSD. Information originally obtained fromAaron Campbell
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".
2000-03-17Remove hard sentence breaks.Aaron Campbell
1999-09-23Minor tweaks. Add Xr to find(1); espie@Aaron Campbell
1999-09-23Improve this man page significantly; more helpful, easier to read, and easierAaron Campbell
to learn how chmod(1) works. Oh, and trash those useless BNF grammars.
1999-07-04trash some old leftover macros and replace them with -mdoc macrosAaron Campbell
1999-05-30repairsAaron Campbell
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.