<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rcp question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203383#M325041</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;yeah I have just realised this after reading the man pages, D'oah.&lt;BR /&gt;&lt;BR /&gt;I used rcp -rp in the end and changed the permissions once it finished and all was fine.</description>
    <pubDate>Fri, 23 May 2008 07:05:12 GMT</pubDate>
    <dc:creator>Nyck_1</dc:creator>
    <dc:date>2008-05-23T07:05:12Z</dc:date>
    <item>
      <title>rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203381#M325039</link>
      <description>I'm attempting to rcp a directory structure from servera to serverb and want to retain the permissions and ownerships. I'm sitting on the server where the data wants to be and i'm issuing the following command:-&lt;BR /&gt;&lt;BR /&gt;rcp -rp servera:/devs/datablitz/cellc/BACKUP .&lt;BR /&gt;&lt;BR /&gt;This works but its coming across owned by root:sys, what am I doing wrong?</description>
      <pubDate>Fri, 23 May 2008 06:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203381#M325039</guid>
      <dc:creator>Nyck_1</dc:creator>
      <dc:date>2008-05-23T06:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203382#M325040</link>
      <description>&amp;gt; [...] what am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;Using "rcp"?  "man rcp" ("-p") may be a&lt;BR /&gt;little ambiguous (and I don't see your HP-UX&lt;BR /&gt;version anywhere), but from what I've read,&lt;BR /&gt;it's not clear to me that "rcp -p" would&lt;BR /&gt;preserve owner:group.&lt;BR /&gt;&lt;BR /&gt;Why not use a "tar" pipeline?  (A quick forum&lt;BR /&gt;search for which should find examples and&lt;BR /&gt;additional reasons to avoid anything which&lt;BR /&gt;acts at all like "cp -r".)</description>
      <pubDate>Fri, 23 May 2008 06:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203382#M325040</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-23T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203383#M325041</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;yeah I have just realised this after reading the man pages, D'oah.&lt;BR /&gt;&lt;BR /&gt;I used rcp -rp in the end and changed the permissions once it finished and all was fine.</description>
      <pubDate>Fri, 23 May 2008 07:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203383#M325041</guid>
      <dc:creator>Nyck_1</dc:creator>
      <dc:date>2008-05-23T07:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203384#M325042</link>
      <description>&amp;gt; I used rcp -rp [...] and all was fine.&lt;BR /&gt;&lt;BR /&gt;Perhaps.  For a possible reason to avoid&lt;BR /&gt;methods like "cp", see the demo in:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1203742" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1203742&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have no symbolic or (multiple) hard&lt;BR /&gt;links in what you copy, or if your "cp"-like&lt;BR /&gt;program is smarter than that one, then you&lt;BR /&gt;may escape this sort of hazard, but why take&lt;BR /&gt;the chance, when there's at least one more&lt;BR /&gt;trustworthy method?</description>
      <pubDate>Fri, 23 May 2008 13:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203384#M325042</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-23T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203385#M325043</link>
      <description>Hi,&lt;BR /&gt;For such copy I personally prefer tar:&lt;BR /&gt;&lt;BR /&gt;remsh servera "cd /devs/datablitz/cellc; tar cf - BACKUP" |" cd /home; tar xf -"&lt;BR /&gt;&lt;BR /&gt;Even better option is rsync, if you need to copy directory and after that to copy only updates&lt;BR /&gt;rsync -avH servera:/devs/datablitz/cellc/BACKUP /home/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Fri, 23 May 2008 16:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203385#M325043</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2008-05-23T16:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203386#M325044</link>
      <description>dear&lt;BR /&gt;&lt;BR /&gt;u have to check u .rhosts file&lt;BR /&gt;&lt;BR /&gt;if u want to execute command on second sever while u sitting on first one u can execute remsh &lt;BR /&gt;&lt;BR /&gt;if u want to do rcp u should configure .rhosts file properly&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;sajjad</description>
      <pubDate>Fri, 23 May 2008 17:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203386#M325044</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-05-23T17:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203387#M325045</link>
      <description>&amp;gt; if u want to do rcp u should configure&lt;BR /&gt;&amp;gt; .rhosts file properly&lt;BR /&gt;&lt;BR /&gt;Well, duh.  Do you have any reason to believe&lt;BR /&gt;that he doesn't know this already?  Or that&lt;BR /&gt;he hasn't done it already?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; This works but [...]&lt;BR /&gt;&lt;BR /&gt;"This works" usually means that something&lt;BR /&gt;works.  Or at least it does among people who&lt;BR /&gt;can spell "you".</description>
      <pubDate>Fri, 23 May 2008 20:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203387#M325045</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-23T20:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203388#M325046</link>
      <description>Morning all,&lt;BR /&gt;&lt;BR /&gt;yeah the first thing I did was the .rhosts file entry:-)</description>
      <pubDate>Tue, 27 May 2008 07:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/4203388#M325046</guid>
      <dc:creator>Nyck_1</dc:creator>
      <dc:date>2008-05-27T07:36:53Z</dc:date>
    </item>
  </channel>
</rss>

