- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create symbolic link permission of lr--r--r...
Operating System - HP-UX
1754321
Members
3114
Online
108813
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
Go to solution
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
тАО09-11-2003 03:11 PM
тАО09-11-2003 03:11 PM
Re: How to create symbolic link permission of lr--r--r-T
No Greg, I didn't have no HP spies telling me what to do; it was just a bit of "a priori" reasoning. I knew that the tlinstall executable was able to set the sticky bit on soft links so now the question was how? You also have to understand that ultimately if there ain't a system call for it, UNIX can't do it --- so there had to be one. Now what was it? Well, I knew there were chown() and lchown() system calls and maybe, just maybe, there was an lchmod() to match the standard chmod() system call.
I then wrote a dummy program:
int main()
{
lchmod("dummy",0)
return(0);
}
It compiled and linked so the mystery system call had to exist.
-------------------------------------------
The other answer is that I am actually one of those whacko's who reads the man 2 pages (the system calls) and I may have seen lchmod() somewhere in another UNIX, far, far away ...
---- although I don't consciously remember it.
On the other hand, if them HP spies (or aliens) was good, maybe they implanted that bit of knowledge without me knowing nothing about it.
I then wrote a dummy program:
int main()
{
lchmod("dummy",0)
return(0);
}
It compiled and linked so the mystery system call had to exist.
-------------------------------------------
The other answer is that I am actually one of those whacko's who reads the man 2 pages (the system calls) and I may have seen lchmod() somewhere in another UNIX, far, far away ...
---- although I don't consciously remember it.
On the other hand, if them HP spies (or aliens) was good, maybe they implanted that bit of knowledge without me knowing nothing about it.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2003 04:33 AM
тАО09-12-2003 04:33 AM
Re: How to create symbolic link permission of lr--r--r-T
Great stuff. I suspected noone wanted to lose sleep without a solution.
Thanks...
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2003 07:49 AM
тАО09-12-2003 07:49 AM
Re: How to create symbolic link permission of lr--r--r-T
Hi Clay,
Thanks for taking the time to answer my question. I just got in this morning and laughed when I read your answer.
I had to use Google to find out what "a priori" means. After I found out that it is a Latin phrase, I'm beginning to think that your use of terrible English grammar might be intentional. In any event, nobody doubts your knowledge of unix.
Jack, thanks for giving Clay the points. He earned them and made me laugh at the same time.
Regards,
Greg
Thanks for taking the time to answer my question. I just got in this morning and laughed when I read your answer.
I had to use Google to find out what "a priori" means. After I found out that it is a Latin phrase, I'm beginning to think that your use of terrible English grammar might be intentional. In any event, nobody doubts your knowledge of unix.
Jack, thanks for giving Clay the points. He earned them and made me laugh at the same time.
Regards,
Greg
I know how to do it in pascal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2003 01:29 PM
тАО09-12-2003 01:29 PM
Re: How to create symbolic link permission of lr--r--r-T
Hi Greg:
I just saw your last post and I assure you that I didn't go to say nothing terrible about your English grandma. I don't even know her.
At my 10th high school reunion (while I was teaching at a university; not, thankfully, English), I did make a special point to thank my English teacher for learning me to talk and write so good (that's nearly verbatim). I also pointed out that I used sentence diagramming and poetry analysis at least once per decade and thanked her for learning me them valuable skills too.
I just saw your last post and I assure you that I didn't go to say nothing terrible about your English grandma. I don't even know her.
At my 10th high school reunion (while I was teaching at a university; not, thankfully, English), I did make a special point to thank my English teacher for learning me to talk and write so good (that's nearly verbatim). I also pointed out that I used sentence diagramming and poetry analysis at least once per decade and thanked her for learning me them valuable skills too.
If it ain't broke, I can fix that.
- « Previous
- Next »
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