- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to set sticky bit for link file ( /bin ---...
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
10-08-2007 07:59 PM
10-08-2007 07:59 PM
how to set sticky bit for link file ( /bin ---> /usr/bin)
Somebody has deleted the link file /bin in root directory which is linked to /usr/bin directory.
we have manually created link
ln -s /usr/bin bin
but when we compare the link file with other system , there is sticky bit set on others permission , we tried to change sticky bit manually but as i understand from documents that we can't chage permission on link file.
please suggest how to set sticky bit on this link file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 09:02 PM
10-08-2007 09:02 PM
Re: how to set sticky bit for link file ( /bin ---> /usr/bin)
If you really really want it back, you can read my responses in this thread, especially the last one:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139134
Your point assignment rate is pretty low. If this answer was helpful, please read this link and assign points and close this thread:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 09:06 PM
10-08-2007 09:06 PM
Re: how to set sticky bit for link file ( /bin ---> /usr/bin)
======================
In HP-UX 10.0 and later, a symbolic link that has its sticky bit set is called a transition link (i.e. links to ease the transition to the new SVR4 filesystem layout). Transition links are a bit faster, because the linked-to filename is stored in the inode itself, instead of using an
allocation unit to store the link. For more info on the purpose for transition links, see the tlinstall(update_aid) manpage.
In order to set the sticky bit on a symlink, one must use the undocumented
lchmod system call (i.e. lchmod("/bin", 041777)).
[Example]
lr-xr-xr-t 1 root sys 8 Jun 7 01:00 /bin ->/usr/bin
Fat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2007 03:52 PM
10-09-2007 03:52 PM
Re: how to set sticky bit for link file ( /bin ---> /usr/bin)
You may try "tlinstall" to get back the link. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2007 04:32 PM
10-09-2007 04:32 PM
Re: how to set sticky bit for link file ( /bin ---> /usr/bin)
i have already created link file manually this time and my work is going on without any problem.
please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2007 04:44 PM
10-09-2007 04:44 PM
Re: how to set sticky bit for link file ( /bin ---> /usr/bin)
Zillions of links. :-) It's quick.
But it will fix your "bad" one.
>i have already created link file manually this time and my work is going on without any problem.
I assumed you "really really" wanted to fix it.