Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

How to change the owner of soft link

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-29-2009
kalpeer kalpeer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 24 July 2015, 7:23 AM EDT
Location: Pune ,India
Posts: 152
Thanks: 14
Thanked 25 Times in 25 Posts
How to change the owner of soft link

How to change the owner ship of the soft link
lrwxrwxrwx 1 root root 4 Jun 29 16:27 soft_test -> test

I need to change the above owner ship to httpd:httpd

Whats the shell command i need to use for it Linux
Sponsored Links
    #2  
Old Unix and Linux 06-29-2009
Tytalus's Unix or Linux Image
Tytalus Tytalus is offline Forum Advisor  
echo {1..9}^2\;|bc
 
Join Date: Jun 2003
Last Activity: 19 May 2015, 6:39 AM EDT
Location: Scotland
Posts: 594
Thanks: 1
Thanked 28 Times in 27 Posts
man chown

(-h should be option you're after iirc)

HTH
Sponsored Links
    #3  
Old Unix and Linux 06-29-2009
kalpeer kalpeer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 24 July 2015, 7:23 AM EDT
Location: Pune ,India
Posts: 152
Thanks: 14
Thanked 25 Times in 25 Posts
Thanks a lot Linux
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Difference between hard link and soft link kamakshi s UNIX for Dummies Questions & Answers 2 06-26-2008 08:05 AM
Hard Link vs SOft Link???? skyineyes UNIX for Dummies Questions & Answers 3 05-29-2008 12:38 PM
soft link for directory in root FS solaris123 Solaris 2 04-01-2008 02:25 AM
Difference between hard link and soft link in unix RAJACHOKALINGAM UNIX for Dummies Questions & Answers 2 08-01-2006 04:10 AM
Differences between hard link and soft link penguin-friend UNIX for Advanced & Expert Users 3 03-08-2002 02:49 PM



All times are GMT -4. The time now is 10:21 PM.