LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   get permission denied when trying to use info command. I (https://www.linuxquestions.org/questions/linux-newbie-8/get-permission-denied-when-trying-to-use-info-command-i-270063/)

nick623 12-24-2004 08:29 PM

get permission denied when trying to use info command. I
 
Ok this seems odd. I can only use the info command when I'm root. Otherwise I get this message info: dir: Permission denied. I gave ls -l command for /usr/bin/info and got this -rwxr-xr-x 1 root root 131068 Jan 24 2003 /usr/bin/info. Doen't this mean that other users besides root should be able to execute info command? It's not a catastrophic problem but it just feels unusual having to su to root just to use the info command. If anyone has any insight or input I would appreciate it much. Thanks!!:)

gd2shoe 12-25-2004 03:02 AM

Not only will you need permission to run info, but you will also need permission to run any programs that info requires. This could conceivably be your problem. Then again, it may not be. I know there is some command that will give you dependency information, but I expect it to be limited, it may only involve dll's, and I don't remember it off hand. Any other takers?

nick623 12-28-2004 09:13 AM

This seems to have started after I did an up2date thru Redhat Network. I don't know if this helps. Also I can access info pages non root via gnome GUI. Really strange.

nick623 12-28-2004 06:06 PM

Well I solved the problem. Although I'm still baffled somewhat. I found the file "dir" located in /usr/share/info had -rw- permission only for root all other files in directory had -rw-r--r--. So I just chmod 644 the dir file and now I can run info command as normal user not just root. Maybe something wierd happened when I used up2date to update my system files. Whatever. :)


All times are GMT -5. The time now is 01:42 PM.