[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Permission denied
From: |
Kees de Leeuw |
Subject: |
Re: Permission denied |
Date: |
Wed, 21 Mar 2012 07:19:19 +1100 |
Hi Ben,
I get the following results:
Kees-Imac:~ kees$ ls -l /Applications/Octave.app/Contents/Resources/bin/octave
-rwxrwxrwx 1 kees admin 2968 21 Apr 2011
/Applications/Octave.app/Contents/Resources/bin/octave
Kees-Imac:~ kees$ ls -l /usr/local/bin/octave
-rw-r--r-- 1 root wheel 0 20 Mar 11:49 /usr/local/bin/octave
I do not know a lot about Unix, but it is now clear to me that I do not have an
executable file in /usr/local/bin. How can I fix this?
Thanks and regards,
Kees
On 21/03/2012, at 12:37 AM, Ben Abbott wrote:
> On Mar 19, 2012, at 11:44 PM, Kees de Leeuw wrote:
>
>> Hi,
>>
>> I am very new to Octave. I have just installed it on Mac OS X 10.7.3. I
>> think I have followed all the installation instructions. I can run Octave
>> from the icon in my Application folder, but I cannot run it from the
>> terminal. I followed the instructions given in
>> http://www.octave.org/wiki/index.php?title=Installing_MacOS_X_Bundle. When I
>> enter 'Octave', I get a message '-bash: /usr/local/bin/octave: Permission
>> denied'.
>>
>> I would appreciate some help. I believe I need to have this working as I am
>> involved in software which is using Octave in the background.
>>
>> Thanks for any help,
>> Kees
>
> This error may occur if the symbolic link you created doesn't point to an
> executable file.
>
> What do the following return form the terminal ?
>
> ls -l /Applications/Octave.app/Contents/Resources/bin/octave
> ls -l /usr/local/bin/octave
>
> Ben
>