Module Name: src
Committed By: gutteridge
Date: Sun Dec 23 01:29:23 UTC 2018
Modified Files:
src/bin/cp: cp.1
Log Message:
Clarify a sentence about the error handling of cp(1)'s -p option.
Addresses PR bin/40336.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/bin/cp/cp.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/cp/cp.1
diff -u src/bin/cp/cp.1:1.45 src/bin/cp/cp.1:1.46
--- src/bin/cp/cp.1:1.45 Thu Aug 11 00:17:23 2016
+++ src/bin/cp/cp.1 Sun Dec 23 01:29:23 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: cp.1,v 1.45 2016/08/11 00:17:23 sevan Exp $
+.\" $NetBSD: cp.1,v 1.46 2018/12/23 01:29:23 gutteridge Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd August 11, 2016
+.Dd December 22, 2018
.Dt CP 1
.Os
.Sh NAME
@@ -120,8 +120,9 @@ to preserve in the copy as many of the m
file flags, file mode, user ID, group ID, and extended attributes,
as allowed by permissions.
.Pp
-If the user ID and group ID cannot be preserved, no error message
-is displayed and the exit value is not altered.
+If the user ID and group ID cannot be preserved due to insufficient
+permissions, no error message is displayed and the exit value is not
+altered.
.Pp
If the source file has its set user ID bit on and the user ID cannot
be preserved, the set user ID bit is not preserved