- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: .profile can't perform a cd
Operating System - HP-UX
1752678
Members
5529
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-25-2005 11:18 AM
тАО02-25-2005 11:18 AM
.profile can't perform a cd
I'm trying to add a simple command to change directory and then run an executable from the .profile. But when I log on I keep ending up in my home directory instead of where I want to cd to. Even though I'm in my home directory, a pwd command gives the response:
sh: : Cannot access parent directories.
Here's what I want it to do,
cd /app01/applive
/usr/ab7/bin/udd
Any ideas as to why I'm trapped in my home directory? Permissions aren't an issue on the directories and file I want to run.
sh: : Cannot access parent directories.
Here's what I want it to do,
cd /app01/applive
/usr/ab7/bin/udd
Any ideas as to why I'm trapped in my home directory? Permissions aren't an issue on the directories and file I want to run.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2005 11:25 AM
тАО02-25-2005 11:25 AM
Re: .profile can't perform a cd
hi,
I guess you'll always end up in your home dir during login. That's the idea of a "home dir" :)
You could try to run it as:
( cd /app01/applive ; /usr/ab7/bin/udd )
regards,
Thierry.
I guess you'll always end up in your home dir during login. That's the idea of a "home dir" :)
You could try to run it as:
( cd /app01/applive ; /usr/ab7/bin/udd )
regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2005 11:29 AM
тАО02-25-2005 11:29 AM
Re: .profile can't perform a cd
I can do this on other servers. Adding a cd command at the end of the .profile allows me to login and start in a directory other than my home directory.
On this server, it doesn't allow me to.
On this server, it doesn't allow me to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2005 11:52 AM
тАО02-25-2005 11:52 AM
Re: .profile can't perform a cd
The answer was the permissions on /home were incorrect.
Easiest points I never earned!
Easiest points I never earned!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP