<?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: HP-UX 8.0.0 error while copying in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493210#M804532</link>
    <description>Oops, please read 'slash' instead of 'backslash' !&lt;BR /&gt;</description>
    <pubDate>Wed, 14 Feb 2001 08:32:01 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-02-14T08:32:01Z</dc:date>
    <item>
      <title>HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493206#M804527</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I am working on an project for Nortel Networks. I would like to know the following. I just got this email address&lt;BR /&gt;from one of the hp links. &lt;BR /&gt;&lt;BR /&gt;In HP-UX 8.0 , I am getting this error in the shell script  . This is happening once in thousand times. &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;cp: cannot overwrite existing directory /iws/ahd &lt;BR /&gt;&lt;BR /&gt;Shell script is : &lt;BR /&gt;&lt;BR /&gt;#! /bin/csh &lt;BR /&gt;&lt;BR /&gt;set NATIVE_SYS="/iws/native_sys" &lt;BR /&gt;&lt;BR /&gt;cd $NATIVE_SYS &lt;BR /&gt;set NATIVE_LIST=`ls -1` &lt;BR /&gt;&lt;BR /&gt;foreach entry ($NATIVE_LIST) &lt;BR /&gt;         if (-d /iws/$entry) then &lt;BR /&gt;            mv /iws/$entry /iws/$entry.tmp &amp;gt;&amp;amp; /dev/null &lt;BR /&gt;         endif &lt;BR /&gt;         cp -r $NATIVE_SYS/$entry ~/iws/ &lt;BR /&gt;end &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;May I know when will the system throughs such warnings. &lt;BR /&gt;&lt;BR /&gt;Note : /iws is an symbolic link. &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;Please letme know why is this happening. If i am asking the wrong person , please direct me to the correct&lt;BR /&gt;person. &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;Thanks In advance. Your response will be apreciated. &lt;BR /&gt;&lt;BR /&gt;Best Regards &lt;BR /&gt;--sunil</description>
      <pubDate>Tue, 13 Feb 2001 22:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493206#M804527</guid>
      <dc:creator>Sunil Kalachar</dc:creator>
      <dc:date>2001-02-13T22:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493207#M804529</link>
      <description>The most like reason is the existing ownership/permissions of /iws/ahd.  Does the user running this script own that directory and everything under it?&lt;BR /&gt;&lt;BR /&gt;Are you really running under HPUX 8.0?  This is a bad situation if you are where it is not supported in any way and is definitely not Y2K compliant.  HP had a deal where many machines that were not capatable of moving to 10.x could use a special Y2K compliant version - 9.10 if I remember correctly.  I hope this work that you are doing for Nortel does not need to be imported to their machine where there is a good possibility that it may not work as expected.</description>
      <pubDate>Wed, 14 Feb 2001 00:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493207#M804529</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2001-02-14T00:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493208#M804530</link>
      <description>This script is being run by root user. As i have mentioned this does not happen everytime.</description>
      <pubDate>Wed, 14 Feb 2001 00:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493208#M804530</guid>
      <dc:creator>Sunil Kalachar</dc:creator>
      <dc:date>2001-02-14T00:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493209#M804531</link>
      <description>Hi Sunil,&lt;BR /&gt;&lt;BR /&gt;You must be one of the few still running HP-UX 8.0...&lt;BR /&gt;&lt;BR /&gt;If the user running the script is always root, then in the following statement:&lt;BR /&gt;cp -r $NATIVE_SYS/$entry ~/iws/ &lt;BR /&gt;the ~/iws/ could be replaced by /iws , without the ~ and the trailing backslash.&lt;BR /&gt;&lt;BR /&gt;As I've been using Unix for 20+ years, I remember that, for no reason, cp was sometimes complaining when the destination directory had a trailing backslash.&lt;BR /&gt;This could be the reason but, don't ask me where I've seen that written, it's ages ago ;-)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;PS: I concur with Tim, you should definitely try to put your hands on a Y2K compliant version, or upgrade to 10.x if your system allows it.</description>
      <pubDate>Wed, 14 Feb 2001 08:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493209#M804531</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-02-14T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493210#M804532</link>
      <description>Oops, please read 'slash' instead of 'backslash' !&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Feb 2001 08:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493210#M804532</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-02-14T08:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 8.0.0 error while copying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493211#M804533</link>
      <description>Hi Dan /Tim&lt;BR /&gt;&lt;BR /&gt;Actually , the ~ in the destination is a mistake , when i cut and pasted a part of my script  to post this question.&lt;BR /&gt;&lt;BR /&gt;The command is:&lt;BR /&gt;cp -r $NATIVE_SYS/$entry /iws/&lt;BR /&gt;&lt;BR /&gt;The only thing is about  trailing '/' . But as i have mentioned this kind of error is complaining once in thouand times. What i am not understanding is that being a root user , and executing cp command, this eror may be caused due to what reasons.&lt;BR /&gt;If I could come to know when  HP 8.0 throughs this kind of error then I could analyse the possbile causes for this rare condition.&lt;BR /&gt;&lt;BR /&gt;I did execute strings command on the cp binary to see that this error is present in cp only in HP 8.0 but not in HP 10.0&lt;BR /&gt;&lt;BR /&gt;We are using HP 10.0 and now we will be moving to HP 11.0 for most of our development activities. But there are some old systems which are in the field running on HP 8.0. This script has to be used for reverting some unwanted changes.&lt;BR /&gt;&lt;BR /&gt;As this problem is not always reproduceable, i am not able to get into a conclusion how to change  the script to solve this.&lt;BR /&gt;&lt;BR /&gt;Please clarify. Thanks a lot&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;--sunil&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Feb 2001 15:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-8-0-0-error-while-copying/m-p/2493211#M804533</guid>
      <dc:creator>Sunil Kalachar</dc:creator>
      <dc:date>2001-02-14T15:26:00Z</dc:date>
    </item>
  </channel>
</rss>

