- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't find current directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 08:34 AM
01-08-2002 08:34 AM
name. I umount'd the filesystem, created a new directory (mountpoint) and
remounted the filesystem. Everything seemed to work OK. Now I see a problem. As
root everything looks OK, but as a regular user (non-root) I cannot do an ls on
'..' (dot dot). This is causing a problem with the application that resides in
the directory. I can see dot but not dot dot. I am able, however, to do 'cd dot
dot' and it works. In the directory above I can see everything fine. Is this a
user environment issue? Could it have something to do with the mountpoint?
Thanks
...Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 08:44 AM
01-08-2002 08:44 AM
Re: Can't find current directory
Problem DescriptionI have an application loaded in a directory that users need
to access. The filesystem is loaded on a logical volume.
When the users cd into the directory, the ".." (parent directory)
is missing. Root can cd into the directory and the ".." is there.
I ran fsck against the umounted logical volume, but it came back
with no errors. The mount points for the filesystem are all
777 (drwxrwxrwx) and root is 755 (drwxr-xr-x).What is going ?Configuration Info
Operating System - HP-UX Version -10.20Hardware System - HP 9000
Series -755Solution
The problem is that the filesystem is a JFS filesystem and JFS
looks at the underlying mount point permissions/ownerships for
access. HFS simply looks at the permissions after the filesystem
is mounted. There is no way to see the mountpoint permissions
using normal HP-UX commands until the filesystem is umounted.
In this case the underlying permission was 770 (drwxrwx---)
and the ownership was root:sys. This is a somewhat unrealistic
permission for a directory.
Changing the permissions from 770 to 777 will correct the problem.
Generally the restrictive permissions are caused by root running
with a umask of 007 which strips all of the bits from the other
portion of the permissions. Users must have read and executability
at a minimum for reading and directory movement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 08:48 AM
01-08-2002 08:48 AM
Re: Can't find current directory
Make sure you have the execute permission set on the directory.
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 09:01 AM
01-08-2002 09:01 AM
Re: Can't find current directory
Thanks
...Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 09:05 AM
01-08-2002 09:05 AM
Re: Can't find current directory
Try to re-change the permits to 777 and then login to the system with a normal user and try to ls.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 10:57 AM
01-08-2002 10:57 AM
Re: Can't find current directory
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 05:46 AM
01-16-2002 05:46 AM
Re: Can't find current directory
Thanks
...Kevin