- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set sticky bit for a soft link?
Operating System - HP-UX
1819931
Members
3159
Online
109607
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
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
тАО04-04-2003 03:22 PM
тАО04-04-2003 03:22 PM
How to set sticky bit for a soft link?
How do you set the sticky bit for a soft link?
I've looked at man for chmod, umask, etc. and basically umask says it can't be done.
I'd like to create soft link with sticky bit set for:
/etc/install -> /usr/sbin/install
but can't do it.
Any ideas?
I've looked at man for chmod, umask, etc. and basically umask says it can't be done.
I'd like to create soft link with sticky bit set for:
/etc/install -> /usr/sbin/install
but can't do it.
Any ideas?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2003 03:26 PM
тАО04-04-2003 03:26 PM
Re: How to set sticky bit for a soft link?
Whoops, I should mention that I'm attempting to do this because the database on one server I'm using didn't clean itself up and left another install file in /etc.
Now whenever I install a package on that server the tlinstall_clean fails becasue the /etc/install file exists. Other servers which do work properly have a softlink with the sticky bit set for /etc/install pointing to /usr/sbin/install and I'm trying to duplicate what works.
Now whenever I install a package on that server the tlinstall_clean fails becasue the /etc/install file exists. Other servers which do work properly have a softlink with the sticky bit set for /etc/install pointing to /usr/sbin/install and I'm trying to duplicate what works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2003 03:28 PM
тАО04-04-2003 03:28 PM
Re: How to set sticky bit for a soft link?
Hi,
You cannot create it by using chmod or umask. These are transitional links and even not having a sticky bit does not matter.
If you insist on doing it, you can use the command "/opt/upgrade/bin/tlinstall" to restore the transitional links. Look at the man page of "tlinstall" for more information.
tllist is another useful command.
-Sri
You cannot create it by using chmod or umask. These are transitional links and even not having a sticky bit does not matter.
If you insist on doing it, you can use the command "/opt/upgrade/bin/tlinstall" to restore the transitional links. Look at the man page of "tlinstall" for more information.
tllist is another useful command.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2003 08:05 AM
тАО04-07-2003 08:05 AM
Re: How to set sticky bit for a soft link?
The sticky bit on symbolic links has no effect on the way the link works. In fact, permissions on the actual link aren't used at all for access checks. The sticky bit on symbolic links simply means that the link is a 'transition link' - a link that exists solely for backward compatibility reasons.
tlinstall and tlremove are really the only
applications that care about this bit on
links. Because transition links were intended to be temporary and only used by these two programs, the API for altering the sticky bit isn't officially documented. Use of tlinstall and/or tlremove (/opt/upgrade/bin) is the supported way to alter them.
tlinstall and tlremove are really the only
applications that care about this bit on
links. Because transition links were intended to be temporary and only used by these two programs, the API for altering the sticky bit isn't officially documented. Use of tlinstall and/or tlremove (/opt/upgrade/bin) is the supported way to alter them.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP