<?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: modifying link in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162177#M456502</link>
    <description>Oops.. Sorry .. Didnt read it carefully&lt;BR /&gt;&lt;BR /&gt;This link currenlty goes to /oracle/KHR&lt;BR /&gt;How can I change it to go to /oracle/KTC&lt;BR /&gt;&lt;BR /&gt;So presently&lt;BR /&gt;&lt;BR /&gt;there is a link created for /oracle/KPC:&lt;BR /&gt;lrwxr-xr-x 1 orakhr dba 3 Dec 17 15:00 KPC -&amp;gt; KHR&lt;BR /&gt;&lt;BR /&gt;You like file /oracle/KPC to link to /oracle/KTC&lt;BR /&gt;&lt;BR /&gt;# cd /oracle&lt;BR /&gt;# rm KPC&lt;BR /&gt;# ln -s KTC KPC&lt;BR /&gt;&lt;BR /&gt;With regards to ownership&lt;BR /&gt;&lt;BR /&gt;# chown &lt;FILENAME&gt;&lt;/FILENAME&gt;</description>
    <pubDate>Mon, 09 Mar 2009 18:54:33 GMT</pubDate>
    <dc:creator>Avinash20</dc:creator>
    <dc:date>2009-03-09T18:54:33Z</dc:date>
    <item>
      <title>modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162167#M456492</link>
      <description>Currently there is a link on the server which goes to /sap/AT. How can we change this to go to /sap/BT?</description>
      <pubDate>Mon, 09 Mar 2009 18:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162167#M456492</guid>
      <dc:creator>HPOPSW</dc:creator>
      <dc:date>2009-03-09T18:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162168#M456493</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Remove (rm) the link and recreate it where you want it to point.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Mar 2009 18:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162168#M456493</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-09T18:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162169#M456494</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Thanks for the response. Since I am new to this, can you please let me know from where to remove the link and how to change it to other destination?</description>
      <pubDate>Mon, 09 Mar 2009 18:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162169#M456494</guid>
      <dc:creator>HPOPSW</dc:creator>
      <dc:date>2009-03-09T18:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162170#M456495</link>
      <description>cd /where/the/link/is&lt;BR /&gt;rm sym_link&lt;BR /&gt;ln /sap/BT sym_link&lt;BR /&gt;&lt;BR /&gt;where you need to replace the word sym_link with the actual name of the link you have&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Mon, 09 Mar 2009 18:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162170#M456495</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-03-09T18:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162171#M456496</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Consider this:&lt;BR /&gt;&lt;BR /&gt;# touch /tmp/myfile # create a file for play&lt;BR /&gt;# ln -s /tmp/myfile /tmp/mylink # point to it&lt;BR /&gt;# ls -l /tmp/mylink&lt;BR /&gt;# rm /tmp/mylink&lt;BR /&gt;# ln -s /tmp/myfile /tmp/yourlink # point with a different link&lt;BR /&gt;# ls -l /tmp/yourlink&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Mar 2009 18:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162171#M456496</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-09T18:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162172#M456497</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Be sure the read the manpages for 'ln'.  I have assumed in my examples that you had and want to create symbolic (soft) links.  Hence the use of the '-s' switch.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Mar 2009 18:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162172#M456497</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-09T18:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162173#M456498</link>
      <description>Thanks James and Mel,&lt;BR /&gt;&lt;BR /&gt;Please consider the below scenario and advice - &lt;BR /&gt;&lt;BR /&gt; there is a link created for /oracle/KPC:&lt;BR /&gt;lrwxr-xr-x   1 orakhr     dba              3 Dec 17 15:00 KPC -&amp;gt; KHR&lt;BR /&gt;&lt;BR /&gt;This link currenlty goes to /oracle/KHR&lt;BR /&gt;How can I change it to go to /oracle/KTC ?Also how can I change the owner of the link that to oraktc.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2009 18:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162173#M456498</guid>
      <dc:creator>HPOPSW</dc:creator>
      <dc:date>2009-03-09T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162174#M456499</link>
      <description># cd /oracle&lt;BR /&gt;# rm KPC &lt;BR /&gt;# ln -s KTC KHR</description>
      <pubDate>Mon, 09 Mar 2009 18:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162174#M456499</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162175#M456500</link>
      <description>Also how can I change the owner of the link that to oraktc.&lt;BR /&gt;&lt;BR /&gt;# chown orakhr /oracle/KTC &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2009 18:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162175#M456500</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T18:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162176#M456501</link>
      <description>Also Please assign points to your thread&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a way of saying thanks to the right answers</description>
      <pubDate>Mon, 09 Mar 2009 18:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162176#M456501</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T18:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162177#M456502</link>
      <description>Oops.. Sorry .. Didnt read it carefully&lt;BR /&gt;&lt;BR /&gt;This link currenlty goes to /oracle/KHR&lt;BR /&gt;How can I change it to go to /oracle/KTC&lt;BR /&gt;&lt;BR /&gt;So presently&lt;BR /&gt;&lt;BR /&gt;there is a link created for /oracle/KPC:&lt;BR /&gt;lrwxr-xr-x 1 orakhr dba 3 Dec 17 15:00 KPC -&amp;gt; KHR&lt;BR /&gt;&lt;BR /&gt;You like file /oracle/KPC to link to /oracle/KTC&lt;BR /&gt;&lt;BR /&gt;# cd /oracle&lt;BR /&gt;# rm KPC&lt;BR /&gt;# ln -s KTC KPC&lt;BR /&gt;&lt;BR /&gt;With regards to ownership&lt;BR /&gt;&lt;BR /&gt;# chown &lt;FILENAME&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Mon, 09 Mar 2009 18:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162177#M456502</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162178#M456503</link>
      <description>With regards to ownership&lt;BR /&gt;&lt;BR /&gt;# chown orakhr /oracle/KTC&lt;BR /&gt;&lt;BR /&gt;Please no point for this</description>
      <pubDate>Mon, 09 Mar 2009 18:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162178#M456503</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162179#M456504</link>
      <description>Thanks Avinash, James and Mel for your responses.</description>
      <pubDate>Mon, 09 Mar 2009 18:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162179#M456504</guid>
      <dc:creator>HPOPSW</dc:creator>
      <dc:date>2009-03-09T18:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162180#M456505</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Also how can I change the owner of the link that to oraktc.&lt;BR /&gt;&lt;BR /&gt;Use 'chown -h' [see the manpages for chown()].&lt;BR /&gt;&lt;BR /&gt;Having said that, you should remember that the permissions and/or ownership of a (symbolic) link do not matter.  It's the permissions and the ownership of the file or directory to which the symbolic link points that determine access.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Mar 2009 18:58:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162180#M456505</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-09T18:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162181#M456506</link>
      <description>Note.. the link file will depend on the ownership of /oracle/KTC though !!</description>
      <pubDate>Mon, 09 Mar 2009 19:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162181#M456506</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-09T19:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162182#M456507</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Using a simple 'chown' (without the -h)  on a symbolic link changes the ownership of the thing that the link points to, NOT the ownership of the link itself!  &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Mar 2009 19:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162182#M456507</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-09T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: modifying link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162183#M456508</link>
      <description>Thanks all for your valuable help.</description>
      <pubDate>Mon, 09 Mar 2009 21:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-link/m-p/5162183#M456508</guid>
      <dc:creator>HPOPSW</dc:creator>
      <dc:date>2009-03-09T21:10:51Z</dc:date>
    </item>
  </channel>
</rss>

