Clarify a sentence about the error handling of cp(1)'s -p option.
Addresses PR bin/40336.
This commit is contained in:
parent
3565873c1f
commit
6326f9f26c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue