From 6326f9f26c07995979f554307fda3248502ba8ef Mon Sep 17 00:00:00 2001 From: gutteridge Date: Sun, 23 Dec 2018 01:29:23 +0000 Subject: [PATCH] Clarify a sentence about the error handling of cp(1)'s -p option. Addresses PR bin/40336. --- bin/cp/cp.1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index a2f0ebe4ac37..d038da4560de 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -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 modification time, access time, 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