aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2005-09-29 20:40:29 +0000
committerDoug Barton <dougb@FreeBSD.org>2005-09-29 20:40:29 +0000
commita5f6295013e219bb639d738060b732c942314c06 (patch)
treeef816280e2930f226c08becb28e7b60dd57ecc36 /sys/sparc64
parent870d00144f5f9216c42a3517cb7d8721787a7275 (diff)
downloadsrc-a5f6295013e219bb639d738060b732c942314c06.tar.gz
src-a5f6295013e219bb639d738060b732c942314c06.zip
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@
Notes
Notes: svn path=/head/; revision=150729
Diffstat (limited to 'sys/sparc64')
0 files changed, 0 insertions, 0 deletions