> 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.

On Fri, Apr 5, 2013 at 10:21 AM, Chris Down <ch...@chrisdown.name> wrote:

> On 2013-04-04 20:51, Mara Kim wrote:
> > To get back on track. Note that this process is the same even if the
> 'work'
> > bookmark already exists, while doing things by hand would throw an error
> > without first removing the old link.
>
> See the `-f' option to ln.
>
> > Also you would need to remember to use cd -P every time if you wanted to
> keep
> > things unaliased.
>
> See `set -o physical'.
>
> Chris
>



-- 
M

Reply via email to