[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Tar problem
- From: "mgalgoci redhat com" <mgalgoci redhat com>
- To: Mark Thompson <mthompson ed umuc edu>
- Cc: redhat-install-list redhat com
- Subject: Re: Tar problem
- Date: Fri, 31 Dec 1999 14:20:28 +0000 (UTC)
Is it possible that you are having uid/gid collision problems betweem
the two machines? Note that even though usernames and group names may
match up, that they will not equate to the same user unless the uids/gids
are the same. If they are not, it might do something like default
ownership to the current user (root?) or possibly the user that the
uid/gid translates to on the targer machine.
--
Matt Galgoci
Job title: export title=`dd if=/dev/random bs=24 count=1`
echo $title
On Thu, 30 Dec 1999, Mark Thompson wrote:
> I have been using exactly that, just in the opposite direction. I have been using the command
>
> ssh -l user_name server '(cd source && tar cpf - *)' | tar xvpf -
>
> This works fine for the user directories but doesn't work for the samba directories.
>
> Mark Thompson
>
> Rino Rogomentic wrote:
>
> > 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
> >
> > --
> > PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> > http://www.redhat.com http://archive.redhat.com
> > To unsubscribe: mail redhat-install-list-request redhat com with
> > "unsubscribe" as the Subject.
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]