From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621727.tru64-unix-managers.marc@archive.invalid> From: Khalid Fareed Date: Tue, 08 May 2001 05:57:11 +0000 To: tru64-unix-managers Subject: rcp problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621727 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.