- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hpw to change permissions on symlink
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
04-20-2006 05:07 PM
04-20-2006 05:07 PM
Guys,
What flag do I need to use to change permissions on symlink to 777....I have done man on chmod but I'm unable to determine this..below is what I need to do..current directory is /usr/local/bin
lrwxr-x-- weekly.ksh -> weekly.app.ksh
Now how do i change the permissions to 777 on weekly.ksh without making any changes to weekly.app.ksh...
Cheers
Raf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:12 PM
04-20-2006 05:12 PM
SolutionI dont think it is possible to do.
Check my question on the same.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=956122
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:27 PM
04-20-2006 05:27 PM
Re: Hpw to change permissions on symlink
Else, recreate it. Change umask to whatever you want and create link again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:30 PM
04-20-2006 05:30 PM
Re: Hpw to change permissions on symlink
Just a rephrase to my post, I dont think it is possible to do with "chmod".
Check my thread for more information.
-Arun
P.S Zero point please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:32 PM
04-20-2006 05:32 PM
Re: Hpw to change permissions on symlink
Thanks Arun and Rac for your quick responses, you guys are right I will have to delete the link and change the umask so I can create it with 777 permissions,
Where is the default umask kept in order to create files in hp-ux machines so i can modify that to umask 000 temporarily to give it 777 permissions??? I will change the umask back to its original once I'm finished...please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:39 PM
04-20-2006 05:39 PM
Re: Hpw to change permissions on symlink
umask 000;ln -s source_file "link_to_be_created"; umask "original umask";ll "link_created"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:41 PM
04-20-2006 05:41 PM
Re: Hpw to change permissions on symlink
Check ~.profile , for umask , and you cna change accordingly.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 05:49 PM
04-20-2006 05:49 PM
Re: Hpw to change permissions on symlink
Thanks Team for your input..
RAC's suggestion worked ie From command prompt.
umask 000;ln -s source_file "link_to_be_created"; umask "original umask";ll "link_created"
This problem has now been resolved...
I will assign points now...
Cheers
Raf