You are not logged in.

#1 2012-10-17 22:02:59

Goran
Member
Registered: 2012-01-24
Posts: 92

[RESOLVED] Can't detect symlink in /usr/local/bin

The directory is in the path:

echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl

So I don't understand why I'm not able to run a symlink in /usr/local/bin.

Any ideas as to why?

Last edited by Goran (2012-10-17 23:24:12)

Offline

#2 2012-10-17 22:07:06

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [RESOLVED] Can't detect symlink in /usr/local/bin

Please be more specific. What are you trying to do? As which user?


To know or not to know ...
... the questions remain forever.

Offline

#3 2012-10-17 22:38:35

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [RESOLVED] Can't detect symlink in /usr/local/bin

There's a good chance whatever it links to doesn't exist (bad link), isn't executable, or isn't accessable by your user.

Offline

#4 2012-10-17 23:23:16

Goran
Member
Registered: 2012-01-24
Posts: 92

Re: [RESOLVED] Can't detect symlink in /usr/local/bin

drcouzelis wrote:

There's a good chance whatever it links to doesn't exist (bad link), isn't executable, or isn't accessable by your user.

Even dumber: "ln -s /usr/bin/myprogram\ -someoption linkname". I didn't realize that this is actually a link to a program named "myprogram -someoption".

... boy do I feel stupid.

Thanks for your help.

Offline

#5 2012-10-18 00:58:26

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [RESOLVED] Can't detect symlink in /usr/local/bin

You're welcome. For what it's worth, it looks like a Bash "alias" would do what you were looking for. smile

Offline

Board footer

Powered by FluxBB