| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This became possible because copies of the original v1 manuals
have shown up on the Internet some time ago.
Reminded by Sevan Janiyan <venture37 at geeklan dot co dot uk>.
|
| |
|
|
|
| |
getcap->cgetent. pwcache->user_from_uid. And then repair references.
ok jmc
|
| |
|
|
| |
do repeated lookups. OK tb@
|
| | |
|
| | |
|
| |
|
|
|
| |
diff from klemens nanni
confirmed by otto
|
| |
|
|
|
|
|
|
|
|
| |
The old syntax was deprecated 25 years ago when the utility was
first standardised in IEEE Std 1003.2-1992 ("POSIX.2"). There was
no POSIX version of chown with the dot separator.
Let's stop pretending that it will ever go away.
OK jung@, deraadt@, jmc@
|
| |
|
|
|
|
|
|
|
| |
flag to fts_open led to the following behavior: the symlink's permissions
were read, changed according to the command line, and transferred to the
target file. chflags had a similar problem while chmod was unaffected.
Regression introduced in r1.33. Reported by Christopher Wellons, thanks!
ok guenther
|
| |
|
|
|
|
| |
Minor cleanup while here: return from main, static void __dead usage, etc.
Based on a patch from Jan Stary <hans at stare dot cz>.
Feedback and OK tb@, OK millert@.
|
| |
|
|
| |
tweaks and ok guenther
|
| |
|
|
| |
chown(8) manpages to be consistent and clearer about it as well.
|
| | |
|
| |
|
|
| |
setuid/setgid bits.
|
| |
|
|
|
|
| |
chown codepath obviously cannot use tame -- once tame is activated
the kernel prohibits changing uid/gid on a fd/file.
ok guenther
|
| | |
|
| |
|
|
| |
In some cases, do additional cleanup in the immediate vicinity.
|
| |
|
|
|
|
|
|
|
|
| |
Not bugs in short-lived commands that call exit() -> _exit() immediately,
but for idempotency.
Originally found in ls(1) by Valgrind. Changes for other commands are
from deraadt@. Reviewed by me, tested in snapshots.
OK deraadt@
|
| |
|
|
|
| |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
| |
|
|
|
|
| |
making them more resistant to TOCTOU race conditions too.
ok tobias@
|
| |
|
|
|
|
|
| |
- avoid out of boundary access on very short program names
- fix compiler warning when converting values between 0 and INT_MAX
ok deraadt, millert
|
| |
|
|
|
|
|
|
| |
in a group of option letters), do not silently ignore the syntax error
and do something undefined, but instead error out properly.
Found because miod@ said "read the code" (not to me, though).
ok doug@
|
| |
|
|
| |
ok jca@ krw@
|
| |
|
|
|
|
| |
(namespace pollution!) or talking about its opinion on code.
ok krw@
|
| |
|
|
| |
ok millert sobrado
|
| | |
|
| |
|
|
| |
text from/ok millert
|
| |
|
|
|
|
| |
relevant here too;
ok millert
|
| |
|
|
| |
ok millert sobrado
|
| |
|
|
|
|
|
|
|
| |
- note that not following sym links is default for -R
- improve the description of -R, providing a mnemonic and a simpler
description of what it does. also make the text for all these pages
identical, as far as is possible
ok millert schwarze
|
| | |
|
| |
|
|
|
|
| |
simplify the symbolic modes format.
ok (and fine-tuned by) jmc@, millert@
|
| | |
|
| |
|
|
| |
ok jasper@, otto@
|
| | |
|
| |
|
|
|
| |
as discussed with jmc@, otto@ and millert@
ok otto@ millert@
|
| |
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
|
|
| |
- opaque is gone
with/ok tedu@, millert@
|
| | |
|
| |
|
|
| |
updates to follow;
|
| | |
|
| |
|
|
| |
ok jmc@
|
| | |
|
| |
|
|
|
|
| |
- note which options are extensions to POSIX
discussed w/ deraadt otto millert
|
| |
|
|
| |
use .Ex;
|
| |
|
|
|
|
| |
closes documentation/5384 from Andrew Hamilton-Wright
help from henning, otto, and weingart
|
| | |
|
| |
|
|
|
|
|
| |
bump the revision for the latest posix spec;
problem reported by jonathan glaschke;
ok millert
|
| | |
|
| |
|
|
| |
cleanup. from ray at cyth net
|
| | |
|