I am manually trying to install an application. I copied the files under /opt and tried to give soft link from /usr/local/bin directory to the binary at /opt/app/bin
I noticed even though /usr/local/bin is in the PATH, I can not access the application binary.
$ ls -ld /usr/local/bin ls: cannot access '/usr/local/bin': Permission denied $ sudo ls -ld /usr/local/bin drwxr-xr-x 1 root root 0 Eki 15 22:46 /usr/local/bin
The displayed permissions seem normal and I am supposed to be able to display the contents of the directory, however without sudo I can not access the directory.
I have an ubuntu machine, the /usr/local/bin directory has the same permissions and the contents can be displayed without sudo.
What could be the reason? Any help much appreciated.