all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Copy (dired mode) fails to break hard link (23.0.93)
@ 2009-05-19 11:26 Neal Becker
  2009-05-19 11:41 ` Sven Joachim
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Becker @ 2009-05-19 11:26 UTC (permalink / raw)
  To: emacs-devel

I just found (much to my surprise) that using 'C' copy in dired mode to a 
file that was hard linked did not break the link.  This is not what I 
expected to happen.






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

* Re: Copy (dired mode) fails to break hard link (23.0.93)
  2009-05-19 11:26 Copy (dired mode) fails to break hard link (23.0.93) Neal Becker
@ 2009-05-19 11:41 ` Sven Joachim
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Joachim @ 2009-05-19 11:41 UTC (permalink / raw)
  To: Neal Becker; +Cc: emacs-devel

On 2009-05-19 13:26 +0200, Neal Becker wrote:

> I just found (much to my surprise) that using 'C' copy in dired mode to a 
> file that was hard linked did not break the link.  This is not what I 
> expected to happen.

It is consistent with the behavior of cp(1), however.  And unlinking the
target first will fail if you don't have write permission to its
directory.

Sven




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

end of thread, other threads:[~2009-05-19 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 11:26 Copy (dired mode) fails to break hard link (23.0.93) Neal Becker
2009-05-19 11:41 ` Sven Joachim

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.