Ubuntu

jamiejim
jamiejim Posts: 244
edited June 2007 in The Crudcatcher
I am using Ubuntu from a live CD, and was trying to copy some files from the internal HD to an external one. It told me that access was denied, presumably because of a password? Is there any way to get around it?
MBUK

Comments

  • jamiejim
    jamiejim Posts: 244
    No thanks
    MBUK
  • whyamihere
    whyamihere Posts: 7,716
    What <i>exactly</i> does it say?

    What method are you using to copy the files?

    Is it refusing access to the external drive or the internal one?
  • jamiejim
    jamiejim Posts: 244
    Basically, it lets me move files from the external drive to the Ubuntu desktop and it lets me move files from the internal drive to the desktop. But it doesnt let me move the files from the internal to the external or vice versa. Im confused!
    MBUK
  • whyamihere
    whyamihere Posts: 7,716
    Fantastic.

    Now would you mind actually answering my questions?
  • jamiejim
    jamiejim Posts: 244
    oops, forgot about the question!

    When I try and move the files it give me an error message: *Error while copying to "/media/MY BOOK". You do not have permissions to write to this folder*

    Im just C&P into the correct folder, and it lets me move files to the desktop, but not to either drive
    MBUK
  • whyamihere
    whyamihere Posts: 7,716
    What's the location of your internal drive? Probably something like /mnt/somethingorother.
  • jamiejim
    jamiejim Posts: 244
    its in the media folder of the file browser, the external is there as well
    MBUK
  • mr pie man 2
    mr pie man 2 Posts: 2,500
    When I did live boot with KUbuntu it would not allow me to mess with files and such on the storage. It says so as well if you look through the PDF thingy.

    <font size="1"><font color="blue">MSN/Email</font id="blue"></font id="size1">
    <font size="1"><font color="red">I Love Horses</font id="red"></font id="size1">
  • jamiejim
    jamiejim Posts: 244
    hmm...I should probably install it properly then, time to start messing about with partitions!
    MBUK
  • whyamihere
    whyamihere Posts: 7,716
    Right, here's how to do it from the command line.
    Go to Applications>Accessories>Terminal
    sudo cp -v /media/internal/the folder you want/the file you want /media/MY BOOK
    
    If you want to copy all files in a folder, but not the actual folder, use a wildcard, for example folder/*.

    If you want to copy two or more files, just put a space between the paths.
  • me_groovy
    me_groovy Posts: 2,877
    copy not move it

    <center><blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by bEavoLa</i>

    as i washed my nutsack with my soapy cloth i couldn't help but release a slight "Yaaaaarrrgh"...
    <hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">I killed the president of paraguay with a fork. how have you been?</center>
  • whyamihere
    whyamihere Posts: 7,716
    <blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by mr pie man 2</i>
    When I did live boot with KUbuntu it would not allow me to mess with files and such on the storage. It says so as well if you look through the PDF thingy.<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">'Course it doesn't through the GUI. Can do it perfectly well with the command line though, I've used an Ubuntu LiveCD to fix my proper install after the graphics drivers fu<u></u>cked up.

    Mian: Eh?
  • jamiejim
    jamiejim Posts: 244
    Ok, cheers. trying now
    MBUK
  • Big Red S
    Big Red S Posts: 26,890
    <blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by whyamihere</i>

    Right, here's how to do it from the command line.
    Go to Applications>Accessories>Terminal
    sudo cp -v /media/internal/the folder you want/the file you want /media/MY BOOK
    
    If you want to copy all files in a folder, but not the actual folder, use a wildcard, for example folder/*.

    If you want to copy two or more files, just put a space between the paths.
    <hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

    You've got to '\' out the spaces.

    So a file with the name MY BOOK would be referenced as
    MY\ BOOK
    

    And the above would be:
    sudo cp -v /media/internal/the\ folder\ you\ want/the\ file\ you\ want /media/MY\ BOOK
    

    Which is why no-one in their right mind uses spaces in filenames.

    <hr noshade size="1"><font size="1">:) README
    [url=mailto:avisforwardedemails@gmail.com?subject=MBUK Moderation]E-mail me if you think i've moderated something wrong[/url] (but don't change the subject or I won't get it)</font id="size1">
  • whyamihere
    whyamihere Posts: 7,716
    Completely forgot about that...

    Because I don't have any stupid spaces in my filenames. [:D]