tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rcp problem
@ 2001-05-08  5:57 Khalid Fareed
  0 siblings, 0 replies; only message in thread
From: Khalid Fareed @ 2001-05-08  5:57 UTC (permalink / raw)
  To: tru64-unix-managers

Hi all

Regaring rcp problem here is more details
i have NCR  machine i want copy files from it to AlphaServer DS20 with the
same permission 
Thank you
Khalid Fareed

-----Original Message-----
From: Khalid Fareed 
Sent: Monday, May 07, 2001 10:40 PM
To: 'Dr. Thomas.Blinn@Compaq.com'
Subject: RE: FW: rcp problem 


Dr. Tom
Thank you for your reply
my problem is i have NCR Machine ,also AS DS20 i want to copy all files from
NCR to DS20
so i can not use tar command i guess .
also rsh is not clear for me
can you help
Thanx in Advance

Khalid Fareed 
National Computer Services    
Bahrain
Tel:00973-9872550

National Computer 
-----Original Message-----
From: Dr. Thomas.Blinn@Compaq.com [mailto:tpb@doctor.zk3.dec.com]
Sent: Monday, May 07, 2001 8:00 AM
To: Khalid Fareed
Subject: Re: FW: rcp problem 



> 
> >   Hi all,
> 
> >            i want to  copy files and directory from local host to remote
> > host
> > i usr remote copy command    rcp  -r -p  directory name   remote
> > host:destination directory path
> 
> > after using this command  i have problem in the owner ,grroup of this
> > files
> > the distenation directory and files take the owner and group from the
> > distenation user not as the source in the local host
> 
> > are there is qualifier  missed ? or  there is another command to do this
> > remote copy
> 
> > best regards
> > khaled
> 

rcp is doing exactly what it should be doing.  If you want to modify the
file ownership or protections on the remote system, then follow up your
rcp with an rsh (assuming the remote user has appropriate permissions).
Or use something like "tar" that passes the source system protection and
ownership information as part of the package.

Tom
 
 Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation
  110 Spit Brook Road, MS ZKO3-2/W17   Nashua, New Hampshire 03062-2698
   Technology Partnership Engineering           Phone:  (603) 884-0646
    Internet: tpb@zk3.dec.com      - or -     thomas.blinn@compaq.com
     ACM Member: tpblinn@acm.org         PC@Home: tom@felines.mv.net

  Worry kills more people than work because more people worry than work.

      Keep your stick on the ice.        -- Steve Smith ("Red Green")

     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                              -- Phil Agre, pagre@alpha.oac.ucla.edu

     Yesterday it worked / Today it is not working / UNIX is like that 
			-- apologies to Margaret Segall 

  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-08  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-08  5:57 rcp problem Khalid Fareed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox