[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: to - Bookmark file system locations in bash on POSIX-like systems
From: |
Chris Down |
Subject: |
Re: to - Bookmark file system locations in bash on POSIX-like systems |
Date: |
Sat, 6 Apr 2013 12:49:55 +0800 |
On 6 Apr 2013 01:49, "Mara Kim" <hacker.root@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
- Re: to - Bookmark file system locations in bash on POSIX-like systems, (continued)
Re: to - Bookmark file system locations in bash on POSIX-like systems, Mara Kim, 2013/04/04
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Domingo Ignacio Galdos, 2013/04/04
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Chris Down, 2013/04/04
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Mara Kim, 2013/04/04
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Domingo Ignacio Galdos, 2013/04/05
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Chris Down, 2013/04/05
- Re: to - Bookmark file system locations in bash on POSIX-like systems, Mara Kim, 2013/04/05
- Re: to - Bookmark file system locations in bash on POSIX-like systems,
Chris Down <=
Re: to - Bookmark file system locations in bash on POSIX-like systems, Greg Wooledge, 2013/04/08