Re: making /usr/local/bin accessible



On 5/31/07, Milos Prudek <prudek@xxxxxx> wrote:
I want hnb (Hierarchical Notebook). I installed it via apt-get and it
installed into /usr/bin but it exhibited some errors, so I removed the hnb
deb package. I got hnb sources, compiled and installed them. The hnb binary
is in /usr/local/bin. Under the superuser, hnb runs without specifying the
full path. Under non-privileged user, running hnb without specifying the full
path results in this error message:

-bash: /usr/bin/hnb: No such file or directory

I have never seen this behaviour under Mandriva. What configuration is
responsible for this?

I'm not at ubuntu right now, so can't check, but I'm pretty sure
/usr/local/bin is in the standard path before /usr/bin. Can you check
the permissions on the new binary? Does is allow others to execute?
sudo chmod a+x would do it. It sounds like only root has permission
to run the program, for your description.

-Eamonn

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users