LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-24-2004, 08:29 PM   #1
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Rep: Reputation: 15
Smile 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!!
 
Old 12-25-2004, 03:02 AM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
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?
 
Old 12-28-2004, 09:13 AM   #3
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 12-28-2004, 06:06 PM   #4
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Smile

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
su : permission denied sai49 Linux - General 14 07-13-2004 05:00 AM
su command fails with permission denied noahsatellite Linux - Security 6 05-26-2004 03:47 AM
Mounting via CD icon works, but via command line = permission denied nmoog Linux - Newbie 6 03-07-2004 02:26 AM
permission denied Bullzeye Linux - Newbie 13 08-24-2003 04:55 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration