- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: modifying 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
Discussions
Discussions
Forums
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
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
тАО03-09-2009 11:54 AM
тАО03-09-2009 11:54 AM
Re: modifying link
This link currenlty goes to /oracle/KHR
How can I change it to go to /oracle/KTC
So presently
there is a link created for /oracle/KPC:
lrwxr-xr-x 1 orakhr dba 3 Dec 17 15:00 KPC -> KHR
You like file /oracle/KPC to link to /oracle/KTC
# cd /oracle
# rm KPC
# ln -s KTC KPC
With regards to ownership
# chown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 11:56 AM
тАО03-09-2009 11:56 AM
Re: modifying link
# chown orakhr /oracle/KTC
Please no point for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 11:57 AM
тАО03-09-2009 11:57 AM
Re: modifying link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 11:58 AM
тАО03-09-2009 11:58 AM
Re: modifying link
> Also how can I change the owner of the link that to oraktc.
Use 'chown -h' [see the manpages for chown()].
Having said that, you should remember that the permissions and/or ownership of a (symbolic) link do not matter. It's the permissions and the ownership of the file or directory to which the symbolic link points that determine access.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 12:01 PM
тАО03-09-2009 12:01 PM
Re: modifying link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 12:02 PM
тАО03-09-2009 12:02 PM
Re: modifying link
Using a simple 'chown' (without the -h) on a symbolic link changes the ownership of the thing that the link points to, NOT the ownership of the link itself!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 02:10 PM
тАО03-09-2009 02:10 PM
Re: modifying link
- « Previous
-
- 1
- 2
- Next »