Permission Error

Discussion in 'Installation/Configuration' started by dranieri, Sep 11, 2005.

  1. dranieri

    dranieri New Member

    Hello to Everyone,

    Can some one tell me why I am getting a permission denied when trying to
    edit /etc/network/interfaces This the stable release of Debian/linux version 3.1r0a "sarge" following this tutorial http://www.howtoforge.com/perfect_setup_debian_sarge
    I am logged in as root just in case anyone is wondering.
     
    Last edited: Sep 11, 2005
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -l /etc/network/interfaces
    here?
     
  3. dranieri

    dranieri New Member

    Re:

    command typed ls-/etc/network/interfaces
    response -bash: ls-/etc/network/interfaces: N such file or directory
     
  4. dranieri

    dranieri New Member

    Re:

    I apologize not used to using forums at all. Will do better just please let me know in a nice way if I am making mistakes or anthing I could do better.

    command typed ls-/etc/network/interfaces
    response -bash: ls-/etc/network/interfaces: No such file or directory
     
  5. falko

    falko Super Moderator Howtoforge Staff

    No problem. :)

    You made a typo there. The correct command is
    Code:
    ls -l /etc/network/interfaces
     
  6. dranieri

    dranieri New Member

    RE: Permission Denied

    Oh man sorry.
    the return reply was -rw-r--r 1 root root 268 2005-09-11 12:32 /etc/network/interfaces
    was wondering about permissions however don't know enough about setting them. Know perl pretty well but rusty on unix commands.
    Interesting why root root
    if I am reading corectly the permission for this file 644 which is not good.
    Pulling out my hair and books again hmmm I see about the root root it means I am logged in as root user under the root.
    PS Thank you tremendously.
     
    Last edited: Sep 11, 2005
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Hi, the permissions of /etc/network/interfaces are correct.
    Which editor do you use? Try vi on the commandline or an editor like pico or nano at the commandline.
     
  8. linutzy

    linutzy New Member

    Chmod

    #touch test
    #ls -al test
    -rw-r--r-- 1 user user 0 2005-09-11 16:17 test
    #chmod 777 test
    #ls -al test
    -rwxrwxrwx 1 user user 0 2005-09-11 16:17 test
     
  9. dranieri

    dranieri New Member

    RE: Thank you

    I assumed too much. Seems Edit in the tutorial means as in run editor. I did not type ee /etc/network/interfaces
    Thanks to everyone you folks are great.
    Yippee spins in chair :)
     

Share This Page