freebsd-nq/bin
Doug Barton a5f6295013 Handle the case where the -P flag is specified for a read-only file
earlier, and more gracefully. Previously, this combination would be
ignored early in the code where permissions are tested and fail later
with a very unhelpful "permission denied" error.

Instead, test for this flag in the same block that generates the
"override?" messages for read-only files, but instead of trying
to guess what the user has in mind, generate an error and exit.

Update the man page to reflect this new behavior.

Not objected to by:	freebsd-hackers@
2005-09-29 20:40:29 +00:00
..
cat Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
chflags Sort sections. 2005-06-14 08:25:54 +00:00
chio Don't specify SRCS= when it can be obtained from PROGS= 2005-01-27 13:25:09 +00:00
chmod Expand contractions. 2005-02-13 23:45:54 +00:00
cp Attempt to complete the userspace integration of POSIX.1e extended ACLs. 2005-09-05 04:36:08 +00:00
csh Bump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow 2005-09-22 18:32:53 +00:00
date Expand *n't contractions. 2005-02-13 22:25:33 +00:00
dd Spell "protections" correctly. 2005-07-28 18:28:11 +00:00
df Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
domainname /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
echo Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ed Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
expr Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
getfacl Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
hostname There is no /etc/rc.network anymore. 2005-04-17 23:22:22 +00:00
kenv Add a "-q" quiet flag to kenv so that warnings can be suppressed. 2005-09-13 19:01:53 +00:00
kill Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ln Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ls fix typos: decribed -> described, preceeded -> preceded 2005-09-06 20:14:39 +00:00
mkdir Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
mv Attempt to complete the userspace integration of POSIX.1e extended ACLs. 2005-09-05 04:36:08 +00:00
pax Fix bin/pax doesn't wait for compress/gzip before exiting. 2005-03-12 06:38:01 +00:00
ps o Typo: s/teminal/terminal/. 2005-04-29 11:10:27 +00:00
pwd Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rcp Expand *n't contractions. 2005-02-13 22:25:33 +00:00
realpath Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
rm Handle the case where the -P flag is specified for a read-only file 2005-09-29 20:40:29 +00:00
rmail Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
rmdir The new name for the DIAGNOSTICS section is EXIT STATUS. 2005-05-31 12:57:44 +00:00
setfacl Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
sh Elaborate on the behaviour of set -e. 2005-09-10 09:28:39 +00:00
sleep Fix a comment. 2005-08-07 09:11:38 +00:00
stty Fix: printed output flags (onocr) and (onlret) same as oxtabs 2005-05-26 06:57:57 +00:00
sync /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
test /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
uuidgen Mention that uuidgen(1) generates DCE version 1 UUIDs only 2005-09-07 07:49:21 +00:00
Makefile Wrap BSD r* commands in NO_RCMDS. 2005-03-02 11:53:22 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00