How to change the owner of soft link | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

How to change the owner of soft link

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-29-2009
kalpeer kalpeer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 10 November 2014, 8:06 AM EST
Location: Pune ,India
Posts: 150
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
Sponsored Links
    #2  
Old 06-29-2009
Tytalus's Avatar
Tytalus Tytalus is offline Forum Advisor  
echo {1..9}^2\;|bc
 
Join Date: Jun 2003
Last Activity: 10 January 2014, 5:37 AM EST
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 06-29-2009
kalpeer kalpeer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 10 November 2014, 8:06 AM EST
Location: Pune ,India
Posts: 150
Thanks: 14
Thanked 25 Times in 25 Posts
Thanks a lot
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:05 AM
Hard Link vs SOft Link???? skyineyes UNIX for Dummies Questions & Answers 3 05-29-2008 01:38 PM
soft link for directory in root FS solaris123 Solaris 2 04-01-2008 03:25 AM
Difference between hard link and soft link in unix RAJACHOKALINGAM UNIX for Dummies Questions & Answers 2 08-01-2006 05:10 AM
Differences between hard link and soft link penguin-friend UNIX for Advanced & Expert Users 3 03-08-2002 03:49 PM



All times are GMT -4. The time now is 04:05 AM.