Results 1 to 9 of 9
I am trying to run a dyndns client ( runDNS ) on my fedora server, but it gives me a "Permission denied" error whenever I run it. It is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-01-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 4
Permission denied?
I am trying to run a dyndns client (runDNS) on my fedora server, but it gives me a "Permission denied" error whenever I run it. It is a perplexing problem, especially since I am logged in as root, who should have all permissions...unless something is seriously messed up...
Anybody have any ideas?
[edit]I think this might be in the wrong forum...I feel like an idiot...someone can move it if that is necessary.[/edit]
- 02-01-2005 #2
Can you post us the EXACT error message? Thanks.
- 02-01-2005 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 4
-bash: /bin/rundns: Permission denied
- 02-01-2005 #4
***Moved to Servers***
Can you post the output of this:
Code:ls -al /bin/rundns
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 02-01-2005 #5Just Joined!
- Join Date
- Feb 2005
- Posts
- 4
Thanks for moving this.
The output of that command (actually
since rundns is in /usr/bin and not just /bin) is:Code:ls -al /usr/bin/rundns
Thanks for your help.Code:-rw-r--r-- 1 root root 856467 Jan 30 00:03 /usr/bin/rundns"
- 02-01-2005 #6Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
It's not executable, chmod +x it and try again.
- 02-01-2005 #7Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
more effective chmod arguments would be this:
that means:Code:chmod 0755 /usr/bin/rundns
0=do not set the SUID, GUID, or Sticky bits
7=owner can eXecute, Read, and Write the file
5=group can eXecute and Read
5=others can eXecute and ReadTheir code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 02-01-2005 #8Just Joined!
- Join Date
- Feb 2005
- Posts
- 4
Thank you everyone for your help. I'm very new to Linux, so I'm still learning my way around it.
- 02-02-2005 #9Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Yeah, but since it's already 644, +x will make it 755
Originally Posted by lordnothing


Reply With Quote
