bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ln overwrites newly created files


From: Philip Rowlands
Subject: Re: ln overwrites newly created files
Date: Tue, 21 Aug 2007 22:30:01 +0100 (BST)

On Tue, 21 Aug 2007, Eric Blake wrote:

$ ln -vf a/f b/f c
`c/f' => `a/f'
`c/f' => `b/f'
$ cat c/f
2

Oops - we overwrote the just-created c/f with a link to b/f.

But you told it to, with -f. Doesn't POSIX require this to succeed?


Cheers,
Phil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]