Re: backup copy /home/user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2003-06-21 at 17:00, Christopher Russell wrote:
> I am trying to copy /home/user from one RH9 machine to another RH9
> machine, using a CDR; but the files and directories lose their
> permissions. How should this be done properly, please?
> 
> WHAT I'VE DONE SO FAR:
> Made a user account on machine#2 in the same name as machine#1.
> 
> Using a CDR, and syntax from RH8 Bible by Negus, p471.
> 
> mkisofs -o /var/tmp/user.cd /home/user
> cdrecord -v speed=10 dev=0,0,0 -data /var/tmp/user.cd
> 
> WHAT HAPPENS:
> On copying the files and directories into the new /home/user directory,
> icons are labeled as user not having necessary permissions. e.g.,
> /evolution has changed from 700 to 555, /stuff has changed from 755 to
> 555, and a .html file has changed from 664 to 555.
> 
> WHAT I THINK THE PROBLEM IS:
> A CD is an archive media, and so it's something in the way I made the
> CD
> 
> - but what should have been the way to do this, please?
> 
> Thanks in advance,
> Chris

You should use tar to make an archive of your home directory and
preserve permissions.  Write the archive to CD and extract it to the
second machine.


-- 
Ed Rosack <serosack@xxxxxxxxxx>




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux