D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] copying hidden directory to usb stick

 

On Mon, Sep 17, 2007 at 11:30:25PM +0100, James Kilty wrote:
> On Mon, 2007-09-17 at 22:55 +0100, Neil Stone wrote:
> > what filesystem is on the usb stick ? not all fs's will allow a 
> > directory not to have text prior to a "."
> 
> Thank you. In this case it is an old mp3 player which I think is FAT12.
> I forget what we actually did use, but if it was a portable hard disk I
> cannot find it except in media as FREECOM HDD which will not work with
> the space (I suppose). I seem to remember he found it in a different
> way.
> 
> So. I should jump to home and call it james/.evolution?
> 
> (2)With sudo I got the same as before all "failed to preserve ownership
> for xxx: Operation not permitted" using sudo cp -a
> james/.evolution /media/disk
> 
> (1)I tried doing this with the same line without sudo  and this time I get
> cp: cannot create regular file '/media/disk/.evolution/<folder1
> name>:_home_james_.evolution_mail_local#<folder2 name>.xml': invalid
> argument.
> 
> At least these are the last few messages, where folder1 is e.g
> mail/views/current_view-m_box and folder2 is e.g. computer_dclug_artists
> (corresponding to my directory of folders for my mail).
> 
> I am happy to keep trying. How would I find the FREECOM HDD as a file (I
> think that's what he said it was)?

The filename isn't the issue; the error message says "failed to preserve
ownership", which is happening because it's a FAT filesystem that has no
way of storing user/group information. They can be ignored, as long as
you bear in mind that if/when you copy it back to a real filesystem
you'll have to fix the ownership.

(The second error, invalid argument, is due I think to the colon in the
filename, which IIRC FAT doesn't like).

-- 
Benjamin A'Lee <bma@xxxxxxxxxxxxxx>
http://subvert.org.uk/~bma/
"People demand freedom of speech as compensation for the freedom of
thought which they have but seldom use." - Søren Kierkegaard

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html