From rfg@tristatelogic.com  Mon Jun 11 19:47:43 2012
Return-Path: <rfg@tristatelogic.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7F5CC1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Jun 2012 19:47:43 +0000 (UTC)
	(envelope-from rfg@tristatelogic.com)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118])
	by mx1.freebsd.org (Postfix) with ESMTP id 5CA1F8FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Jun 2012 19:47:43 +0000 (UTC)
Received: by segfault.tristatelogic.com (Postfix, from userid 1237)
	id 2C5FA5083A; Mon, 11 Jun 2012 12:47:43 -0700 (PDT)
Message-Id: <20120611194743.2C5FA5083A@segfault.tristatelogic.com>
Date: Mon, 11 Jun 2012 12:47:43 -0700 (PDT)
From: Ronald F.Guilmette <rfg@tristatelogic.com>
Reply-To: Ronald F.Guilmette <rfg@tristatelogic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cp(1) & mv(1) pages don't mention ACLs or extended attributes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         168962
>Category:       docs
>Synopsis:       cp(1) & mv(1) pages don't mention ACLs or extended attributes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trasz
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 19:50:10 UTC 2012
>Closed-Date:    
>Last-Modified:  Thu Oct  4 09:00:29 UTC 2012
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
entropy
>Environment:

8.3-RELEASE / amd64

>Description:

In my opinion, both the man page for cp(1) and also the man page for mv(1)
should explicitly state how these programs handle per-file ACLs and
per-file extended attributes.  Are the ALCs and extended attributes of
the source file(s) reflected also in the destination file(s)?  At present
it appears not.  However regardless of what the behaviors of cp & mv are
with respect to ACLs and extended attributes, whatever it is it should be
documented.

>How-To-Repeat:

man 1 cp
man 1 mv

>Fix:

I don't myself have a fix in hand, but I'll try to slap something together
if that will be of help any.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->trasz 
Responsible-Changed-By: trasz 
Responsible-Changed-When: Tue Sep 4 12:26:54 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168962 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/168962: commit references a PR
Date: Tue,  4 Sep 2012 12:27:34 +0000 (UTC)

 Author: trasz
 Date: Tue Sep  4 12:27:23 2012
 New Revision: 240088
 URL: http://svn.freebsd.org/changeset/base/240088
 
 Log:
   Explicitly mention that "cp -p" copies ACLs.
   
   PR:		docs/168962
   MFC after:	1 month
 
 Modified:
   head/bin/cp/cp.1
 
 Modified: head/bin/cp/cp.1
 ==============================================================================
 --- head/bin/cp/cp.1	Tue Sep  4 12:19:34 2012	(r240087)
 +++ head/bin/cp/cp.1	Tue Sep  4 12:27:23 2012	(r240088)
 @@ -32,7 +32,7 @@
  .\"	@(#)cp.1	8.3 (Berkeley) 4/18/94
  .\" $FreeBSD$
  .\"
 -.Dd January 17, 2010
 +.Dd September 4, 2012
  .Dt CP 1
  .Os
  .Sh NAME
 @@ -164,7 +164,7 @@ Cause
  .Nm
  to preserve the following attributes of each source
  file in the copy: modification time, access time,
 -file flags, file mode, user ID, and group ID, as allowed by permissions.
 +file flags, file mode, ACL, user ID, and group ID, 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.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/168962: commit references a PR
Date: Thu,  4 Oct 2012 08:58:02 +0000 (UTC)

 Author: trasz
 Date: Thu Oct  4 08:49:04 2012
 New Revision: 241188
 URL: http://svn.freebsd.org/changeset/base/241188
 
 Log:
   MFC r240088:
   
   Explicitly mention that "cp -p" copies ACLs.
   
   PR:		docs/168962
 
 Modified:
   stable/9/bin/cp/cp.1
 Directory Properties:
   stable/9/bin/cp/   (props changed)
 
 Modified: stable/9/bin/cp/cp.1
 ==============================================================================
 --- stable/9/bin/cp/cp.1	Thu Oct  4 08:47:05 2012	(r241187)
 +++ stable/9/bin/cp/cp.1	Thu Oct  4 08:49:04 2012	(r241188)
 @@ -32,7 +32,7 @@
  .\"	@(#)cp.1	8.3 (Berkeley) 4/18/94
  .\" $FreeBSD$
  .\"
 -.Dd January 17, 2010
 +.Dd September 4, 2012
  .Dt CP 1
  .Os
  .Sh NAME
 @@ -164,7 +164,7 @@ Cause
  .Nm
  to preserve the following attributes of each source
  file in the copy: modification time, access time,
 -file flags, file mode, user ID, and group ID, as allowed by permissions.
 +file flags, file mode, ACL, user ID, and group ID, 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.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
