- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /bin and /lib links to /usr/bin and /usr/lib
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
02-28-2007 02:34 AM
02-28-2007 02:34 AM
umask 222
ln -s /usr/bin /bin
ln -s /usr/lib /lib
This would create links with permissions of
lr-xr-xr-x. The problem is /bin's permissions should be lr-xr-xr-t.
How do I reestablish these links?
Thanks, anyone....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 02:42 AM
02-28-2007 02:42 AM
Re: /bin and /lib links to /usr/bin and /usr/lib
If there is a lot of use of /bin and /lib in programs, those really need to be moved to /usr/bin and /usr/lib. Transition links have been around since HP-UX 10.20 and can go away with any future release without any notice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 02:45 AM
02-28-2007 02:45 AM
Re: /bin and /lib links to /usr/bin and /usr/lib
please see earlier thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=926834
For potential reasons of links disappearing:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=877389
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 02:45 AM
02-28-2007 02:45 AM
Re: /bin and /lib links to /usr/bin and /usr/lib
Please see the attached small C program that I wrote in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=910500&admit=-682735245+1172677359404+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 02:47 AM
02-28-2007 02:47 AM
Re: /bin and /lib links to /usr/bin and /usr/lib
These are so-called "transition" links. They will become reguar symbolic links in 11.31 having appeared with the advent of 10.0 when the HP-UX filesystem layouts changed. You can recreate them with:
# /opt/upgrade/bin/tlinstall
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 08:42 AM
02-28-2007 08:42 AM
Re: /bin and /lib links to /usr/bin and /usr/lib
Thank you so much for all your prompt replies and great info.
tlinstall worked beautifully in about two shakes...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 08:46 AM
02-28-2007 08:46 AM