Webhosting Blog

Changing ownership of a symlink


While changing the ownership for the symbolic link the command

[root@server ~]# chown -R user.user link_path

will not work. It will not allow you to change the ownership of the symbolic link.

Use following command in order to change the ownership for a symbolic link

[root@server ~]# chown -h user.user link_path

Now you can change the ownership of a symbolic link.


					
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s