On 6 Apr 2013 01:49, "Mara Kim" <hacker.r...@gmail.com> wrote:
>
> > See the `-f' option to ln.
>
> So I did some experimentation, and it is not sufficient to simply use the
-f option to ln to update bookmarks
> $ ln -s /bin foo
> # foo -> /bin/
> $ ln -sf /etc foo
> ln: failed to create symbolic link `rot/etc': Permission denied
>
> You also need to use the -n option to prevent dereferencing
> $ ln -sfn /etc foo
> # foo -> /etc/
>
> Once you've done that though, it works well.

Sorry, I thought it would be implicit that you need to also stop
dereferencing. Perhaps I should have said.

Chris

Reply via email to