Find the answer to your Linux question:
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.
  1. #1
    Just 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]

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Can you post us the EXACT error message? Thanks.

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4
    -bash: /bin/rundns: Permission denied

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    ***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

  6. #5
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4
    Thanks for moving this.

    The output of that command (actually
    Code:
    ls -al /usr/bin/rundns
    since rundns is in /usr/bin and not just /bin) is:
    Code:
    -rw-r--r--  1 root root 856467 Jan 30 00:03 /usr/bin/rundns"
    Thanks for your help.

  7. #6
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    It's not executable, chmod +x it and try again.

  8. #7
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    more effective chmod arguments would be this:
    Code:
    chmod 0755 /usr/bin/rundns
    that means:
    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 Read
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  9. #8
    Just 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.

  10. #9
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    Quote Originally Posted by lordnothing
    more effective chmod arguments would be this:
    Code:
    chmod 0755 /usr/bin/rundns
    that means:
    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 Read
    Yeah, but since it's already 644, +x will make it 755

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •