From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: dired-do-copy not really cp -p Date: Sun, 13 Apr 2003 07:23:41 -0400 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87smstn5mn.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050233299 13546 80.91.224.249 (13 Apr 2003 11:28:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2003 11:28:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 13:28:18 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194fek-0003WK-00 for ; Sun, 13 Apr 2003 13:28:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194fdS-0006s3-05 for gnu-bug-gnu-emacs@m.gmane.org; Sun, 13 Apr 2003 07:26:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194fcx-0006jj-00 for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2003 07:26:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194fcu-0006hf-00 for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2003 07:26:25 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194faH-0006LC-00 for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2003 07:23:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 194faH-0006Mv-00; Sun, 13 Apr 2003 07:23:41 -0400 Original-To: Dan Jacobson In-reply-to: <87smstn5mn.fsf@jidanni.org> (message from Dan Jacobson on Tue, 08 Apr 2003 09:24:16 +0800) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4773 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4773 Gentlemen, I accuse the "[-p]" of dired-do-copy's prompt, Copy [-p] * [4 files] to: /tmp/barf of being a big fat lie! Firstly, we all know that the real cp -p preservers group and ownership. It does that when you are root, but ordinarily it can only preserve the date. So ordinarily it is true that dired-do-copy works like cp -p. Would someone like to write the code to make dired-do-copy preserve the group and owner when that is possible?