Hi Andy,
Thanks for replying.
I dropped to command line and
cd /mnt
mkdir edstemp
and got a Permission denied
I would be grateful if you could explain the command line
> $ (cd /home && sudo tar pcf - .) | (cd /mnt/tmp && sudo tar
Are there two commands here?
I worked out that you are tarring up the whole of my home directory then
untarring it in the /mnt/tmp directory
This makes sense, but will Ubuntu then sort out permissions etc. on
install if I tell it that sda2 is to be /home
BTW I THINK I have worked out how to do that in QParted!!
Thanks for taking the tine to help out here
Ed
Andy Smith wrote:
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
------------------------------------------------------------------------
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro