Subj : Re: Copy files without changing ownership and permissions To : comp.os.linux,comp.os.linux.redhat,linux.redhat From : Ross Date : Thu Nov 18 2004 05:38 pm If the /old-homes is about 100 GB, which way is faster? Thanks, Ross "Jim Levie" wrote in message news:pan.2004.11.17.22.47.00.988519@entrophy-free.net... > On Wed, 17 Nov 2004 11:54:38 -0500, Ross wrote: > > > Hi there, > > My Linux file server has an ext3 partition for user's home directories. I > > have just added a new and big ext3 partition. I (root) would like to copy > > (cp) all users' files to the new partition. But any files copied to the > > partition will change their ownership to root, and permission to 755. > > How can I keep their ownership and permissions? Thanks in advance, > > Ross > > When doing this I use: > > cd /old-home > tar cf - . | (cd /new-home; tar xvpf -) > > which preserves ownership, timestamps, etc. > -- > The instructions said to use Windows 98 or better, so I installed RedHat. > .