- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Symbolic link
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
05-10-2003 05:16 AM
05-10-2003 05:16 AM
Symbolic link
how can I change permissions and group of Symbolic link.
I am root and owner of the link is root too.
The system is HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2003 05:33 AM
05-10-2003 05:33 AM
Re: Symbolic link
The ownership and permissions of the symbolic link really don't matter. The symlink just provides a pointer to another file and your access to that file depends on its ownership and permissions. If the ownership of the symlink really bothers you, you can remove it and recreate it as the user that you wish to own it.
rm symlink
su newuser
ln -s myfile symlink
That should give you a symlink owned by newuser.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2003 01:30 PM
05-10-2003 01:30 PM
Re: Symbolic link
On one of my systems which happens to use Informix XDS we had to create the sym links as the informix user instead of root. Because we use raw LV's the link and raw device must be owned by Informix. Yes highly strange but a requirement for this particular RDBMS. Using the procedure listed by JP will fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 06:56 PM
05-11-2003 06:56 PM
Re: Symbolic link
You can have rwxrwxrwx for the link file but if the base file are r-------- then only root can read it.
regards
mB
OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
p/s: uhm!!! which category are you ?.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 07:13 PM
05-11-2003 07:13 PM
Re: Symbolic link
remove the link and re-create the link using the user with which permissions are reqd.
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 07:59 PM
05-11-2003 07:59 PM
Re: Symbolic link
as other syas you can change ownership of file by creating as the desired user.
but will it make some sense ?
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 11:00 PM
05-11-2003 11:00 PM
Re: Symbolic link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 03:30 AM
05-12-2003 03:30 AM