Find the answer to your Linux question:
Results 1 to 8 of 8
I saved some files into a folder in /home I tried using the konqueror to copy it and paste it into the /usr/local/src but it showed "Access Denied to /usr/local/src ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5

    how to copy a folder into /usr/local/src ?


    I saved some files into a folder in /home

    I tried using the konqueror to copy it and paste it into the /usr/local/src but it showed "Access Denied to /usr/local/src "

    What should i do ?

    Sorry , i'm a newbie here...

    What's the command to copy a file or folder ?

    Thank you...

  2. #2
    Linux Newbie
    Join Date
    Oct 2004
    Location
    Manchester, England
    Posts
    165
    try copying as root in a terminal, only root has write access to that location
    Code:
    su -
    password
    cp /home/some.file.gz /usr/local/src/

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5
    Thank you very much !


    I can only copy file ? How to copy the whole folder ?

  4. #4
    Linux Enthusiast scientica's Avatar
    Join Date
    Sep 2003
    Location
    South- or "Mid-" Sweden
    Posts
    742
    You could run (as root):
    cp -R /path/to/folder/to/copy/from /target/folder

    -R includes subdirs in the copying.
    Regards Scienitca (registered user #335819 - http://counter.li.org )
    --
    A master is nothing more than a student who knows something of which he can teach to other students.

  5. #5
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5
    thank you.

    one more question , what's the command to delete a file or folder ?

  6. #6
    Linux Newbie
    Join Date
    Oct 2004
    Location
    Manchester, England
    Posts
    165
    rm file
    rm -R * will remove all and dirs

    man rm
    man cp
    man mv

    for info

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    thanx a lot dude,
    this info helped me a lot

  8. #8
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    thnx

    thnx very much

Posting Permissions

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