unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* dired-do-copy not really cp -p
@ 2003-04-08  1:24 Dan Jacobson
  2003-04-13 11:23 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2003-04-08  1:24 UTC (permalink / raw)


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.  However dired-do-copy doesn't. Try it as root
today. Secondly,
       dired-do-copy is an interactive compiled Lisp function in `dired-aux'.
       ...This normally preserves the last-modified date when copying.
OK, it only mentions dates.  If this is all it mentions, then in the
prompt don't go blabbing about -p unless you plan to really deliver the vegetables.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dired-do-copy not really cp -p
  2003-04-08  1:24 dired-do-copy not really cp -p Dan Jacobson
@ 2003-04-13 11:23 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-04-13 11:23 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-13 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-08  1:24 dired-do-copy not really cp -p Dan Jacobson
2003-04-13 11:23 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).