<?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: pwd and cd .. not working in C shell. (pwd: I/O error) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5683589#M480528</link>
    <description>&lt;P&gt;&amp;gt;I got a 15 mins downtime so I have not tried the “fight fire with fire” approach :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could play with it any time.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt;However when I checked the mount point after the FS was unmounted I saw drwxr-xr-x.&lt;BR /&gt;&amp;gt;Could you please explain how removing that write permission made pwd work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's unexpected.&amp;nbsp; ??&lt;/P&gt;&lt;P&gt;Unless it was changed to fix the problem and the unmount and mount really fixed it?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2012 15:30:55 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-06-07T15:30:55Z</dc:date>
    <item>
      <title>pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5680473#M480482</link>
      <description>&lt;P&gt;Hi HP-UX gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User “is3adm” is using c shell. The directory /sapmnt/IS3/exe is on an NFS mount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;server:is3adm 149&amp;gt; cd&lt;/P&gt;&lt;P&gt;server:is3adm 150&amp;gt; pwd&lt;/P&gt;&lt;P&gt;/home/is3adm&lt;/P&gt;&lt;P&gt;server:is3adm 151&amp;gt; cd /sapmnt/IS3/exe&lt;/P&gt;&lt;P&gt;server:is3adm 152&amp;gt; pwd&lt;/P&gt;&lt;P&gt;&lt;U&gt;pwd: I/O error&lt;/U&gt;&lt;/P&gt;&lt;P&gt;server:is3adm 153&amp;gt; cd ..&lt;/P&gt;&lt;P&gt;&lt;U&gt;..: I/O error&lt;/U&gt;&lt;/P&gt;&lt;P&gt;server:is3adm 154&amp;gt; ls -la /sapmnt/IS3/exe |head -4&lt;/P&gt;&lt;P&gt;&lt;U&gt;/sapmnt/IS3/exe/.. not found&lt;/U&gt;&lt;/P&gt;&lt;P&gt;total 2955364&lt;/P&gt;&lt;P&gt;drwxrwxrwx&amp;nbsp;&amp;nbsp; 5 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5120 Jun&amp;nbsp; 5 15:18 .&lt;/P&gt;&lt;P&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 747834 Jan 14 18:34 ABAP.pad&lt;/P&gt;&lt;P&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;20523167 Jan 16 05:29 ITS.SAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same user when using ksh is not facing any problem other than the ..(parent directory) is not getting listed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ pwd&lt;/P&gt;&lt;P&gt;/home/is3adm&lt;/P&gt;&lt;P&gt;$ cd /sapmnt/IS3/exe&lt;/P&gt;&lt;P&gt;$ pwd&lt;/P&gt;&lt;P&gt;/sapmnt/IS3/exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ ls -la /sapmnt/IS3/exe |head -4&lt;/P&gt;&lt;P&gt;&lt;U&gt;/sapmnt/IS3/exe/.. not found&lt;/U&gt;&lt;/P&gt;&lt;P&gt;total 2955364&lt;/P&gt;&lt;P&gt;drwxrwxrwx&amp;nbsp;&amp;nbsp; 5 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5120 Jun&amp;nbsp; 5 15:18 .&lt;/P&gt;&lt;P&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 747834 Jan 14 18:34 ABAP.pad&lt;/P&gt;&lt;P&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20523167 Jan 16 05:29 ITS.SAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{root@server:/}ls -ld /sapmnt/IS3&lt;/P&gt;&lt;P&gt;drwxr-xr-x&amp;nbsp;&amp;nbsp; 7 is3adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapsys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024 Jun&amp;nbsp; 5 14:46 /sapmnt/IS3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not make out whether this has to do something with c shell or with the NFS/NFS mount directory permissions. Could you please help?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 08:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5680473#M480482</guid>
      <dc:creator>VKV</dc:creator>
      <dc:date>2012-06-05T08:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5680501#M480483</link>
      <description>&lt;P&gt;&amp;gt;The same user when using ksh is not facing any problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This user isn't inventive enough.&amp;nbsp; ;-)&lt;/P&gt;&lt;P&gt;Using "pwd -P" or /usr/bin/pwd will also fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;I could not make out whether this has to do something with C shell or with the NFS/NFS mount directory permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not the scummy C shell this time.&amp;nbsp; ;-)&amp;nbsp; Other than it does things the wrong way.&lt;/P&gt;&lt;P&gt;Something is wrong with NFS.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 09:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5680501#M480483</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-05T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681397#M480497</link>
      <description>&lt;P&gt;&amp;gt; Using "pwd -P" or /usr/bin/pwd will also fail.&lt;/P&gt;&lt;P&gt;Yes Dennis, pwd with both the options fail and specifying the absolute path has not worked either.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt; It's not the scummy C shell this time.&lt;BR /&gt;The reason why I suspected C shell first is that&amp;nbsp; $cwd was holding the right value of pwd even on NFS mounts.&lt;BR /&gt;But I could see that pwd is giving problem only with NFS mounted directories. For local file systems it is working OK.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I could not unmount/remount and check as it is a production env :(&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 00:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681397#M480497</guid>
      <dc:creator>VKV</dc:creator>
      <dc:date>2012-06-06T00:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681561#M480501</link>
      <description>&lt;P&gt;&amp;gt;The reason why I suspected C shell first is that&amp;nbsp; $cwd was holding the right value of pwd even on NFS mounts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably the same reason $PWD works in a real shell.&amp;nbsp; It remembers the last cd directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;But I could see that pwd is giving problem only with NFS mounted directories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All?&amp;nbsp; Or just some of them?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I could not unmount/remount and check as it is a production env :(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure you can, fix it.&amp;nbsp; Just use fire to fight fire.&amp;nbsp; Just export / with root as root and quickly, look/change the permission.&lt;/P&gt;&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/pwd-command-not-working-in-a-particular-directory/td-p/5249094" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/pwd-command-not-working-in-a-particular-directory/td-p/5249094&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/change-file-permission-on-nfs-mount-point/td-p/4484096" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/change-file-permission-on-nfs-mount-point/td-p/4484096&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 05:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681561#M480501</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-06T05:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681617#M480502</link>
      <description>&lt;P&gt;&amp;gt; All?&amp;nbsp; Or just some of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well at least all on this particular server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Sure you can, fix it.&amp;nbsp; Just use fire to fight fire.&amp;nbsp; Just export / with root as root and quickly, look/change the permission.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really love this idea. But am I asking for trouble here? Is there anything that go wrong?&amp;nbsp; I know it is not fair to ask but have you tried this anytime?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 06:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681617#M480502</guid>
      <dc:creator>VKV</dc:creator>
      <dc:date>2012-06-06T06:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681661#M480503</link>
      <description>&lt;P&gt;&amp;gt;but have you tried this anytime?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course.&amp;nbsp; You will have to unexport it after you have changed the permission.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 07:30:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5681661#M480503</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-06T07:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5682983#M480518</link>
      <description>&lt;P&gt;Thank you Dennis.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I unmounted and changed the mount point permissions to dr-xr-xr-x and pwd is working now.&lt;BR /&gt;I got a 15 mins downtime so I have not tried the “fight fire with fire” approach :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;However when I checked the mount point after the FS&amp;nbsp; was unmounted I saw drwxr-xr-x.&lt;BR /&gt;Could you please explain how removing that write permission made pwd work ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 05:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5682983#M480518</guid>
      <dc:creator>VKV</dc:creator>
      <dc:date>2012-06-07T05:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: pwd and cd .. not working in C shell. (pwd: I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5683589#M480528</link>
      <description>&lt;P&gt;&amp;gt;I got a 15 mins downtime so I have not tried the “fight fire with fire” approach :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could play with it any time.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt;However when I checked the mount point after the FS was unmounted I saw drwxr-xr-x.&lt;BR /&gt;&amp;gt;Could you please explain how removing that write permission made pwd work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's unexpected.&amp;nbsp; ??&lt;/P&gt;&lt;P&gt;Unless it was changed to fix the problem and the unmount and mount really fixed it?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 15:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pwd-and-cd-not-working-in-c-shell-pwd-i-o-error/m-p/5683589#M480528</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-07T15:30:55Z</dc:date>
    </item>
  </channel>
</rss>

