- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't cd into a dir; I have to specify full pa...
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
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
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
08-08-2014 07:53 AM
08-08-2014 07:53 AM
Hi!
When I specify full path it work as oracle; Only oracle owned files/dir are the problems. root & oracle, both have same access problems.
# cd product
/app/oracle/product
# ls
OracleHomes software
# cd software
sh: software: not found.
# cd /app/oracle/product/software
# pwd
/app/oracle/product
# ls -l
total 0
drwxrwxr-x 3 oracle dba 96 Jun 5 2013 OracleHomes
drwxrwxr-x 3 oracle dba 96 Aug 7 12:13 software
# cd software
sh: software: not found.
# cd ..
# ls -l
total 0
drwxrwxr-x 3 oracle dba 96 Jun 5 2013 OracleHomes
drwxrwxr-x 3 oracle dba 96 Aug 7 12:13 software
# cd ..
# ls -l
total 1
drwxrwxr-x 4 oracle dba 96 Aug 7 12:12 product
#
Thos perm error is happening with all IDs including root. When I specify full path it works but cascading thru Oracle owned directories is the problem.
I can correctly navigate thru other directories.
$ cd /var/adm
/var/adm
[oracle]$ ls
OLDsulog
conslog.opts
kc.cache
snmpd.log....
/var/adm
[oracle]$ cd diag
/app/oracle/diag
/app/oracle/diag
[oracle]$ ls
asm clients crs diagtool lsnrctl netcman ofm rdbms tnslsnr
/app/oracle/diag
[oracle]$ cd rdbms
/app/oracle/product/OracleHomes/db11g/rdbms
/app/oracle/product/OracleHomes/db11g/rdbms
[oracle]$
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2014 01:28 PM
08-09-2014 01:28 PM
Re: Can't cd into a dir; I have to specify full path; how can I correct it?
Have you set CDPATH? It needs to have ".".
Otherwise what does this show?
ll -d /app/oracle/product
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 06:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 11:52 AM
08-20-2014 11:52 AM
Re: Can't cd into a dir; I have to specify full path; how can I correct it?
>Thanks Dennis!
If you're happy with the answers given, please click on the Kudos star for each helpful answer.