Symlinks are inaccessible by their full path on OS X

Posted by Computer Guru on Super User See other posts from Super User or by Computer Guru
Published on 2010-03-26T17:49:30Z Indexed on 2010/03/26 17:53 UTC
Read the original article Hit count: 389

Filed under:
|
|
|

Hi,

I have symlinks pointing to applications placed in /usr/local/bin which is in the path. However, I can't run these applications from other folders.

Even more weird, I can't access them by the full path to the symlink.

[mqudsi@iqudsi:Desktop/EasyBCD]$ echo $path                       (03-26 13:42)
/opt/local/bin /opt/local/sbin /usr/local/bin /usr/local/sbin/ /usr/local/CrossPack-AVR/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11/bin

[mqudsi@iqudsi:local/bin]$ ls -l /usr/local/bin                   (03-26 13:47)
total 24280
-rwxr-xr-x  1 mqudsi  wheel    18464 May 14  2009 ascii-xfr
-rwxr-xr-x  1 mqudsi  wheel    12567 Mar 25 04:50 brew
-rwxr-xr-x  1 mqudsi  wheel    17768 Dec 11 12:41 bsdiff
-rwxr-xr-x  1 mqudsi  wheel    43024 Mar 28  2009 dumpsexp
-rwxr-xr-x  1 mqudsi  wheel      280 Sep 10  2009 easy_install
-rwxr-xr-x  1 mqudsi  wheel      288 Sep 10  2009 easy_install-2.6
-rwxr-xr-x  1 mqudsi  wheel    39696 Apr  5  2009 fuse_wait
lrwxr-xr-x  1 mqudsi  wheel       29 Mar 25 04:53 git -> ../Cellar/git/1.7.0.3/bin/git

[mqudsi@iqudsi:local/bin]$ /usr/local/bin/git                     (03-26 13:47)
zsh: no such file or directory: /usr/local/bin/git

Clearly the link is there, but I'm not able to get it to it :S

© Super User or respective owner

Related posts about symlink

Related posts about path