Find the answer to your Linux question:
Results 1 to 5 of 5
Im uber noob to Linux as u can see Installed Debian etch 2 days ago and have been doing alot of reading to try and learn the system and some ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    Red face Permission denied for basic files from root..

    Im uber noob to Linux as u can see
    Installed Debian etch 2 days ago and have been doing alot of reading to try and learn the system and some basic shell comands.
    I think i have missed something very simple coz almost any file i try to read i get "Permission denied" when loged in as user or root.
    Again im noob and trying to learn.. im stumped coz even when i ls -l
    i have a list of files/folders contained in the directory im in, but all permission denied so i cant play and explore and learn.
    I think ive missed something major so plz help
    Thx.

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    login as root.
    And you are Tux.. the Linux God..

    aka, when you are Root you can do anything you like.
    So keep beeing root as short as posable.
    NEVER open Firefox with ROOT or a IRC client with ROOT.

    To become root type in the CLI "su"

    Hope that helps.
    New Users, please read this..
    Google first, then ask..

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    You must have root privileges to edit/delete/create files outside your home ( /home/<UserID> ) folder. You can gain root privileges by executing su command. Its not recommended to edit any file outside your home folder unless you know what you are doing.

    Check linuxcommand.org. It will get you going.
    Do post back if you have any other query/problem. Have fun with Linux !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2
    Thx for replying,
    I have actually been logged in as root from the non GUI shell and still all permissions are denied, tho i havent tried the su command so ill give it a go.
    Thx again

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute 'whoami' command to check the if you have root privileges or not.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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