[buug] ln -sf bug

johnd john at jjdev.com
Fri Aug 6 14:20:29 PDT 2004

the man page says -fis supposed to remove existing destination files.

to me it seems that it doesn't

On Fri, Aug 06, 2004 at 02:10:51PM -0700, Chris Waters wrote:
> On Fri, Aug 06, 2004 at 01:48:50PM -0700, Chris Waters wrote:
> > Note the last result.  There's now a new link *inside* the directory
> > pointed to by the old link!
> Followup to my own post: I just tried the same thing on FreeBSD, and
> got the same results, so apparently the behavior is considered correct
> by more than one -dev team.
> Now that I think about it, it is consistent with the behavior of cp
> and mv.  So...maybe it doesn't violate the principle of least surprise
> as much as I originally thought.
> -- 
> Chris Waters           |  Pneumonoultra-        osis is too long
> xtifr at debian.org       |  microscopicsilico-    to fit into a single
> or xtifr at speakeasy.net |  volcaniconi-          standalone haiku

John de la Garza
Computer Support
(714) 315-5499

More information about the buug mailing list