Results 1 to 6 of 6

Thread: [SOLVED] New Installation - Permissions problems

  1. #1
    Join Date
    Oct 2008
    Beans
    42

    [SOLVED] New Installation - Permissions problems

    Newbie needs HELP

    I’m new to Linux. I am attempting to set up a Home file server based on the article entitled "Simple Home File Server (Based on Ubuntu)" found at --- http://www.howtoforge.com/ubuntu-home-fileserver.


    I have ubuntu 7.10 server edition installed.

    It boots find, I enter my name for the user account (charlie) and my password. Everything's find. Next I enter the command “su” and go to root, it requests my password and I enter the password for root.

    Now I am at:
    root@ubuntu: /home/charlie#

    I enter /etc/network/interfaces to edit the network and configure a static IP address.

    It returns:

    bash: /etc/network/interfaces. Permission denied.

    I don’t understand when I’m the only user on the computer and I’m at root why I getting permission denied. And since I’m completely new to UBUNTU and don’t have a clue; can someone suggests a remedy for this problem.

    THANKS in advance for time and helping me with this problem

    CarolinaGuy

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: New Installation - Permissions problems

    If you want to change to that directory, you need to put cd in front of the path.

    Code:
    cd /etc/network/interfaces
    Without the cd, the system thinks that you want to execute /etc/network/interfaces which you can't since it's a directory. That's why you get that error message.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Jun 2005
    Beans
    6,115

    Re: New Installation - Permissions problems

    you may also need the sudo command, sudo is what takes you under full administration mode.
    By default Ubuntu doesnt use root, so any commands you may get for that will not be applicable.
    If a guide says use su substitute it with sudo.
    HOME BUILT SYSTEM! http://brainstorm.ubuntu.com/idea/22804/ Please vote up!
    remember kiddies: sudo rm -rf= BAD!, if someone tells you to do this, please ignore them unless YOU WANT YOUR SYSTEM WIPED

  4. #4
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: New Installation - Permissions problems

    First you should probably use sudo rather then root.

    Second, you need to use an editor.

    Try

    Code:
    sudo nano /etc/network/interfaces
    community/RootSudo

    I understand security is a double edged sword, it is frustrating sometimes. I think the average time to crack a default Windows XP install once it hits the internet is less then 5 minutes, so I guess it is probably worth the effort to learn to enhance your security

    See if this link helps : Ubuntu Security - Ubuntu Forums
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #5
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: New Installation - Permissions problems

    bodhi@hardy: cd /etc/network/interfaces
    cd: not a directory: /etc/network/interfaces
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  6. #6
    Join Date
    Oct 2008
    Beans
    42

    Re: New Installation - Permissions problems

    My THANKS to a great & helpful community. I continuing with the installation of data, updates and setting up the SAMBA server.

    Again MY THANKS to all who responded.

    CarolinaGuy

Bookmarks

Posting Permissions

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