making /usr/local/bin accessible

Eamonn Sullivan eamonn.sullivan at gmail.com
Thu May 31 12:34:15 UTC 2007


On 5/31/07, Milos Prudek <prudek at bvx.cz> 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




More information about the ubuntu-users mailing list