Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/cp Clarify a sentence about the error handling of cp(1)'...
details: https://anonhg.NetBSD.org/src/rev/bca60de00a7c
branches: trunk
changeset: 995439:bca60de00a7c
user: gutteridge <gutteridge%NetBSD.org@localhost>
date: Sun Dec 23 01:29:23 2018 +0000
description:
Clarify a sentence about the error handling of cp(1)'s -p option.
Addresses PR bin/40336.
diffstat:
bin/cp/cp.1 | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 5f22f171aeff -r bca60de00a7c bin/cp/cp.1
--- a/bin/cp/cp.1 Sun Dec 23 01:24:54 2018 +0000
+++ b/bin/cp/cp.1 Sun Dec 23 01:29:23 2018 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index