Hi Edward,

On Sun, Jul 01, 2007 at 04:07:02PM +0100, Edward Kerr wrote:
> I have followed some instructions in LXF94 - July 2007:
> 
> I did this as sudodeleted all that I had done and
> 
> sudo mkdir /mnt/tmp
> sudo mount /dev/sda2 /mnt/tmp
> 
> All went well.
> 
> I then tried to drag/drop a file form desktop into the new tmp folder, 
> and I got permission denied!

/mnt/tmp is most likely owned by root with no permission for users
to create files.  Just as you would not be able to create a file in
the root of /home/.

> HOWEVER, the only bit of home that I REALLY need is my thunderbird and 
> Firefox settings, so can I simply drag those settings into my new home 
> from a backup?

Probably, yes, if you create a /mnt/tmp/edward directory (or
whatever your username is) owned by you, and put things in there as
you would in /home/edward.

But what is wrong with using the command line?

$ (cd /home && sudo tar pcf - .) | (cd /mnt/tmp && sudo tar pxvf -)

will copy the entire contents of /home to /mnt/tmp preserving
ownerships and permissions.  You won't be able to do that from the
desktop GUI as it needs to be done as root.

If you don't understand what the command line does here, feel free
to ask.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to