Find the answer to your Linux question:
Results 1 to 3 of 3
hello. i have another newbie question. it seems my ubuntu doesn't like me accessing my file system, although i'm the main user... so it would be nice if i could. ...
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    5

    Ubuntu- Trouble Accessing/Writing /usr/* files

    hello. i have another newbie question. it seems my ubuntu doesn't like me accessing my file system, although i'm the main user... so it would be nice if i could. (i just compiled for the first time, and the executable is in /usr/local/bin and the files are in /usr/local/share by default...)

    the app. (happens to be AlephOne) also requests additional files to be written to /usr/local/share, but i am denied access both when i try to drag-and-drop or if i try extracting directly to the folder. the following are my error messages:

    when i try to drag and drop into /usr/local/share:

    "Error while moving items to "/usr/local/share"- You do not have permissions to write to this folder"

    when i try to extract in /usr/ (my extractor is File Roller 2.1:

    "Extraction not performed- You don't have the right permissions to extract archives in the folder "/usr/local/share""

    When I try to drag a file from /usr/local/* i get:

    "Error while moving. "/usr/local/*" cannot be moved because you do not have the permissions to change it or its parent folder."

    i suppose i could find out how to do this from the terminal, but it would be nice not to have to... thanks!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    You have to have root permissions to write to system files and directories, but Ubuntu uses sudo rather than allow root user access.

    Just type the word sudo before any command you issue, and enter your user password when it's requested.

    Here's a good website for learning linux commands:

    LinuxCommand.org: Learn the Linux command line. Write shell scripts.

    Have fun using Linux!
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    SUDO or su

    you can also just login to your su and then there will not be a need for sudo, I typically do it this way and then exit my su account as soon as I'm done doing whatever manipulation that I need to do

    jmadero

Posting Permissions

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