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

RE: Tar problem



On Thursday, 30. December
Mark Thompson wrote:

>I have brought up a Redhat 6.1 server with all of the lastest patches.  
>I am trying to migrate samba
>users from the one machine to the other.  
>I am able to move all of the user accounts with no
>problems using

>tar xvpf

>which preserves the permissions.  When I try to move the 
>shared directory on the same partition to
>the new server, the permissions for the directories 
>are not being kept.

--schnipp,schnipp--

hi mark,

try this one:

tar xvpf - <source_dir> | (cd <target_dir>; tar xvpf - )

================================================================
Rino Rogomentic			@work: r rogomentic aigpb com
AIG Private Bank Ltd.		@home: rino gmx ch         		
IT Infrastructure		tel. : ++41 1 801 19 41
Hochbordstr. 1			fax. : ++41 1 801 14 29
CH-8600 Duebendorf
================================================================

-- 
AIG Private Bank AG
Rino Rogomentic        \\|//       Work: r rogomentic aigpb com
IT-Infrastructure     ( 0^0 )      Home: rino gmx ch
-------------------oOO--(_)--OOo-----------------------------------
Hochbordstr. 1
CH-8600 Dübendorf-ZH

Sent through Global Message Exchange - http://www.gmx.net



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