>> (10.07.2002 @ 2216 PST): Peter Leftwich said, in 1.5K: <<
> On Mon, 7 Oct 2002, SweeTLeaF wrote:
> > I am in the /usr/root ....dir
> > ln -s desktop /root/Desktop/tmp
> 
> You should be using `ln -s /root/Desktop/tmp /usr/root/desktop`

no, he shouldn't be. when he looks at /root/Desktop/tmp he wants to see
the contents of /usr/root/desktop. remember it this way, peter: the file
that doesn't exist yet comes last.

the problem with your command, sweetleaf, is that "ln -s desktop ..."
doesn't make a link to "desktop" in your current directory. it makes it
relative to the link. your command makes a link from /root/Desktop/tmp
to /root/Desktop/desktop.

unless you have a specific reason for making links relative, qualifying
all links with full path names is your safest bet.

-Adam


--
"Oh good, my dog found the chainsaw."
        -Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to