Hi there,
   The best solution to the permissions problem is to untar your archive from
the USB stick to the Live CD home directory, like to /home/ubuntu. This is
Linux so it keeps all the permissions, and files are also created properly. At
the end of your work, tar the file and save back to the USB stick. Of course
you need enough RAM. I have 1GB and it seems only only this is available for
the user. In fact, it didn't work for me at first so I split my archive into
two.
   There's another benefit. My script creates a lot of small ascii files and
then sorts them. My processor is one of these speed-step things and I see that
this operation runs mostly at 600MHz instead of 1.5GHz because of the slowdown
caused by the disk accesses. On the Live CD the disk accesses are to RAM, so
the whole thing zips along at 1.5GHz! Total job time drops from around 250 mins
to 146 mins!!
   So now the question is, how can I get this speed up on my regular laptop? I
don't need the small files written to disk as they are deleted at the end of
the job, but I don't know how to write them to RAM. Any way to do it?
Best regards, Graham Petley

> Message: 1
> Date: Tue, 11 Sep 2007 08:55:00 -0700 (PDT)
> From: Graham Petley <[EMAIL PROTECTED]>
> Subject: [LINUX.ORG.MT] FAT format and permissions on USB disks
> To: MLUG <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=iso-8859-1
> 
> When I untar a file onto a USB disk which has been formatted with FAT, all
> the
> file permissions are 700. The original permissions on the files in the tar
> archive have been lost (they are mostly 644 and 755).
> 
> This is a problem if you are working on a remote Windows computer with a live
> CD and your data on a USB disk. Any modifications to files on the USB disk
> have
> to have their permissions laboriously edited by hand on a Linux system
> afterwards. It's possible to reformat the USB disk to say Ext2, but then it
> can't be read on a Windows PC or even a MAC (which is really surprising since
> a
> MAC is a Unix machine, but that's the way it is).
> 
> When I was in the UK recently I checked a number of Linux books for
> information
> on workarounds to this problem, but all the books ignored it. No discussion
> at
> all. Yet FAT is a crude file system and USB disks a good way to store data.
> Am
> I missing something here ... is there a good way to keep file permissions on
> a
> USB disk which is readable by Linux, MAC and Windows computers?
> 
> Best regards, Graham Petley

_______________________________________________
MLUG-list mailing list
[email protected]
http://mailserv.megabyte.net/mailman/listinfo/mlug-list

Reply via email to