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

RE: copy filesystem with permissions?



You are going to run into booting issues, have a rescue disk handy!
use tar with -p.
 
tar --help
(sic)
 -p, --same-permissions       extract permissions information
     --no-same-permissions    do not extract permissions information
     --preserve-permissions   same as -p
(sic)
 
good luck,
 
Will
-----Original Message-----
From: redhat-install-list-admin redhat com [mailto:redhat-install-list-admin redhat com]On Behalf Of James Q. Stansfield
Sent: Wednesday, June 06, 2001 10:16 AM
To: 'Redhat-Install-List'
Subject: copy filesystem with permissions?

 

            I have a problem with a HD intermittently failing and am about to replace it with a brand new one. The dive in question is the secondary drive in the system  My mounts are setup thusly:

 

            My idea is to replace the bad drive by:

 

1.      Install new HDD.

2.      Partition HDD to mirror current bad drive.

3.      Copy w/ perms all filesystems to new drive.

4.      Shutdown, disable bad drive, palce new in it’s place and reboot.

 

All should be good at this point?

 

If the above plan is a good one I need to know how to copy a filesystem while retaining it’s permissions. That’s where I’m stuck.


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