<?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: Can't find current directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640765#M43597</link>
    <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;This is probably a permissions problem.  Unmount the filesystem and make sure that the permissions on the mountpoint are (at least) read+execute for all (i.e. 555).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 08 Jan 2002 16:43:41 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-01-08T16:43:41Z</dc:date>
    <item>
      <title>Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640764#M43596</link>
      <description>I have a problem with a directory. I recently wanted to change a mountpoint&lt;BR /&gt;name. I umount'd the filesystem, created a new directory (mountpoint) and&lt;BR /&gt;remounted the filesystem. Everything seemed to work OK. Now I see a problem. As&lt;BR /&gt;root everything looks OK, but as a regular user (non-root) I cannot do an ls on&lt;BR /&gt;'..' (dot dot). This is causing a problem with the application that resides in&lt;BR /&gt;the directory. I can see dot but not dot dot. I am able, however, to do 'cd dot&lt;BR /&gt;dot' and it works. In the directory above  I can see everything fine. Is this a&lt;BR /&gt;user environment issue? Could it have something to do with the mountpoint?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;...Kevin</description>
      <pubDate>Tue, 08 Jan 2002 16:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640764#M43596</guid>
      <dc:creator>Kevin Liquori</dc:creator>
      <dc:date>2002-01-08T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640765#M43597</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;This is probably a permissions problem.  Unmount the filesystem and make sure that the permissions on the mountpoint are (at least) read+execute for all (i.e. 555).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 08 Jan 2002 16:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640765#M43597</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-08T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640766#M43598</link>
      <description>I suspect its the permissions of the mount point ... have a read of the following eg znd see if your problem is similar : if not some more details on the perms , mount point and O/S would be handy ...&lt;BR /&gt;&lt;BR /&gt;Problem DescriptionI have an application loaded in a directory that users need&lt;BR /&gt;to access. The filesystem is loaded on a logical volume.&lt;BR /&gt;When the users cd into the directory, the ".." (parent directory)&lt;BR /&gt;is missing. Root can cd into the directory and the ".." is there.&lt;BR /&gt;I ran fsck against the umounted logical volume, but it came back&lt;BR /&gt;with no errors. The mount points for the filesystem are all&lt;BR /&gt;777 (drwxrwxrwx) and root is 755 (drwxr-xr-x).What is going ?Configuration Info&lt;BR /&gt;Operating System - HP-UX    Version -10.20Hardware System - HP 9000&lt;BR /&gt;    Series -755Solution&lt;BR /&gt;The problem is that the filesystem is a JFS filesystem and JFS&lt;BR /&gt;looks at the underlying mount point permissions/ownerships for&lt;BR /&gt;access.  HFS simply looks at the permissions after the filesystem&lt;BR /&gt;is mounted.  There is no way to see the mountpoint permissions&lt;BR /&gt;using normal HP-UX commands until the filesystem is umounted.&lt;BR /&gt;In this case the underlying permission was 770 (drwxrwx---)&lt;BR /&gt;and the ownership was root:sys.  This is a somewhat unrealistic&lt;BR /&gt;permission for a directory.&lt;BR /&gt;Changing the permissions from 770 to 777 will correct the problem.&lt;BR /&gt;Generally the restrictive permissions are caused by root running&lt;BR /&gt;with a umask of 007 which strips all of the bits from the other&lt;BR /&gt;portion of the permissions.  Users must have read and executability&lt;BR /&gt;at a minimum for reading and directory movement.</description>
      <pubDate>Tue, 08 Jan 2002 16:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640766#M43598</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2002-01-08T16:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640767#M43599</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Make sure you have the execute permission set on the directory.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2002 16:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640767#M43599</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-08T16:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640768#M43600</link>
      <description>The permissions on that mountpoint are 777. Could that be showing false because it's already mounted?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;...Kevin</description>
      <pubDate>Tue, 08 Jan 2002 17:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640768#M43600</guid>
      <dc:creator>Kevin Liquori</dc:creator>
      <dc:date>2002-01-08T17:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640769#M43601</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Try to re-change the permits to 777 and then login to the system with a normal user and try to ls.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Tue, 08 Jan 2002 17:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640769#M43601</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-01-08T17:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640770#M43602</link>
      <description>Yeah everybody's right.  There is one other possibility.  If the directory was renamed or moved while you were in it, you would get errors like what you have here.  &lt;BR /&gt;It happened to me once when I shut down a third party application and one of its "enhancements" was to move the log directory to log.old (WHILE I WAS IN IT).&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2002 18:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640770#M43602</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-01-08T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find current directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640771#M43603</link>
      <description>Yes, everyone was right! The permissions looked like 777, I umount'd the filesystem and they were 744. I chmod'd to 777, re-mounted and everything was cool!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;...Kevin</description>
      <pubDate>Wed, 16 Jan 2002 13:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-find-current-directory/m-p/2640771#M43603</guid>
      <dc:creator>Kevin Liquori</dc:creator>
      <dc:date>2002-01-16T13:46:50Z</dc:date>
    </item>
  </channel>
</rss>

