<?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: directory link question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888174#M401899</link>
    <description>Since /u01/test/&lt;FILE&gt; and /u01//test/&lt;FILE&gt; are exactly the same file, then the ln command will fail because the link name already exists. Is this a cosmetic issue or does the link with double // not work at all? If it doesn't work, then the underlying code is using some unusual system call to establish the path. You should be able to type:&lt;BR /&gt; &lt;BR /&gt;ls /u01/test/file&lt;BR /&gt;ls /u01/test///file&lt;BR /&gt;ls ///u01///test//file&lt;BR /&gt; &lt;BR /&gt;and get exactly the same listing. Does the bad reference actually fail to resolve?&lt;/FILE&gt;&lt;/FILE&gt;</description>
    <pubDate>Thu, 03 Mar 2005 14:06:09 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-03-03T14:06:09Z</dc:date>
    <item>
      <title>directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888169#M401894</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have what I think is a unique circumstance. Long story but an internal website using Oracle has placed a / after a directory location. This has caused the directory to show up as follows:&lt;BR /&gt;&lt;BR /&gt;/&lt;MOUNT_POINT&gt;/oracle/&lt;SOME_DIR&gt;/&lt;SOME_DIR&gt;//cabo/styles/&lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;** Note the // before "cabo"&lt;BR /&gt;&lt;BR /&gt;Is there a way to do an ln -s or some other pointer to point it to the correct location which should look like:&lt;BR /&gt;&lt;BR /&gt;/&lt;MOUNT_POINT&gt;/oracle/&lt;SOME_DIR&gt;/&lt;SOME_DIR&gt;/cabo/styles/&lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;** Note the / before "cabo". &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/FILENAME&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/MOUNT_POINT&gt;&lt;/FILENAME&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/MOUNT_POINT&gt;</description>
      <pubDate>Fri, 25 Feb 2005 18:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888169#M401894</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-02-25T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888170#M401895</link>
      <description>so you are saying that if I cd to&lt;BR /&gt;/&lt;MOUNT_POINT&gt;/oracle/&lt;SOME_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;and do an&lt;BR /&gt;&lt;BR /&gt;ls -l | grep &lt;SOME_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;that &lt;SOME_DIR&gt; comes out as &lt;SOME_DIR&gt;/, where the / is part of the directory name?&lt;BR /&gt;&lt;BR /&gt;have you tried &lt;BR /&gt;&lt;BR /&gt;mv &lt;SOME_DIR&gt;\/ &lt;SOME_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;??&lt;BR /&gt;&lt;BR /&gt;of course you application is likely to fail to run because you changed the path.&lt;BR /&gt;&lt;BR /&gt;or you could just cd to &lt;BR /&gt;&lt;BR /&gt;cd /&lt;MOUNT_POINT&gt;/oracle/&lt;SOME_DIR&gt;/&lt;BR /&gt;&lt;BR /&gt;ls -n &lt;SOME_DIR&gt;\/ &lt;SOME_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/MOUNT_POINT&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/MOUNT_POINT&gt;</description>
      <pubDate>Fri, 25 Feb 2005 21:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888170#M401895</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-02-25T21:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888171#M401896</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think there must be a directory containing (a) control character(s) below the second &lt;SOME_DIR&gt;. Check the output of&lt;BR /&gt;cd /&lt;MOUNT_POINT&gt;/oracle/&lt;SOME_DIR&gt;/&lt;SOME_DIR&gt;&lt;BR /&gt;ls | od -cx&lt;BR /&gt;If there is just one entry in this directory, then you can do a&lt;BR /&gt;ln -s */cabo cabo&lt;BR /&gt;else: Use a print/printf statement to put the name in a variable&lt;BR /&gt;var=$(printf '\0xx....')&lt;BR /&gt;You can test via ls "$var"...&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;/SOME_DIR&gt;&lt;/SOME_DIR&gt;&lt;/MOUNT_POINT&gt;&lt;/SOME_DIR&gt;</description>
      <pubDate>Sat, 26 Feb 2005 15:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888171#M401896</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2005-02-26T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888172#M401897</link>
      <description>If this is just a reference to a directory path, don't worry about it. You can ls or cd to a directory like this:&lt;BR /&gt; &lt;BR /&gt;cd ////var////tmp&lt;BR /&gt;ll /////etc///issue&lt;BR /&gt; &lt;BR /&gt;And all is well. It is essentially a cosmetic feature. Does the reference work correctly in the web page database?</description>
      <pubDate>Sat, 26 Feb 2005 16:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888172#M401897</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-02-26T16:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888173#M401898</link>
      <description>Harry, Peter, and Bill,&lt;BR /&gt;&lt;BR /&gt;Thank you for your time and responses. I think I should have been a bit more clear in my description. &lt;BR /&gt;&lt;BR /&gt;Our Oracle application has a piece of poorly written code. When it should access a path with /u01/test/&lt;FILE&gt; it is actually coding it as /u01//test/&lt;FILE&gt;.&lt;BR /&gt;&lt;BR /&gt;I should note that we fixed this problem by modifying the code. At the time I originally sent this, we were seeking a quick and temporary fix. That was the reason for my question.&lt;BR /&gt;&lt;BR /&gt;Now, I'm still curious if there is a way. If Oracle is looking for the path of /u01//test/&lt;FILE&gt;, is there a way to create this "path" if the actual path is /u01/test/&lt;FILE&gt;?&lt;BR /&gt;&lt;BR /&gt;Something along the lines of:&lt;BR /&gt;ln -s /u01/test/&lt;FILE&gt; /u01//test/&lt;FILE&gt;.&lt;BR /&gt;&lt;BR /&gt;I hope that makes sense. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/FILE&gt;&lt;/FILE&gt;&lt;/FILE&gt;&lt;/FILE&gt;&lt;/FILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 02 Mar 2005 16:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888173#M401898</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-03-02T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888174#M401899</link>
      <description>Since /u01/test/&lt;FILE&gt; and /u01//test/&lt;FILE&gt; are exactly the same file, then the ln command will fail because the link name already exists. Is this a cosmetic issue or does the link with double // not work at all? If it doesn't work, then the underlying code is using some unusual system call to establish the path. You should be able to type:&lt;BR /&gt; &lt;BR /&gt;ls /u01/test/file&lt;BR /&gt;ls /u01/test///file&lt;BR /&gt;ls ///u01///test//file&lt;BR /&gt; &lt;BR /&gt;and get exactly the same listing. Does the bad reference actually fail to resolve?&lt;/FILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Thu, 03 Mar 2005 14:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888174#M401899</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-03T14:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888175#M401900</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Yes the link actually fails to resolve. Somehow Oracle placed the extra "/" in there. As you pointed out, the OS doesn't care if I reference the fail by //file//. However, I believe this problem is created when the code attempts to access the path containing // in a string to call a style sheet. &lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 03 Mar 2005 16:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888175#M401900</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-03-03T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888176#M401901</link>
      <description>OK, I'm assuming that this link isn't stored (or you could just edit the appropriate record) but created by some code that feeds Oracle. A trailing / can be generated by using an ls command that has been aliased to ls -F (where directories have a trailing /, executables have a *, symlinks have @, and so on. Another possibility is with Apache config file options that may be modifying a directory reference.</description>
      <pubDate>Thu, 03 Mar 2005 21:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888176#M401901</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-03T21:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888177#M401902</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;I'll check with the web analyst and see if this would do the trick. I think it may. I'll get back to you as well as assign points. Thanks again,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 07 Mar 2005 10:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888177#M401902</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-03-07T10:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888178#M401903</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;I thank you again for your contributions both on this question as well as the forum in general. This problem is within Oracle and the code has been repaired. For now, that's simply going to have to be enough. I'm closing this but should I have available time in the near future, I may again solicit some advice.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 14 Mar 2005 15:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888178#M401903</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-03-14T15:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: directory link question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888179#M401904</link>
      <description>See note above. &lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 14 Mar 2005 15:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-link-question/m-p/4888179#M401904</guid>
      <dc:creator>David Bell_1</dc:creator>
      <dc:date>2005-03-14T15:12:19Z</dc:date>
    </item>
  </channel>
</rss>

