Change owner or group of a symbolic link

According to the chown(8) man page:
The chown utility changes the user ID and/or the group ID of the specified files. Symbolic links named by arguments are silently left unchanged unless -h is used.

So, what does this really mean.
Changing the owner of a symbolic link needs special attention. When you use ‘chown’ the regular way to change the owner of a symbolic link, then you are actually changing the target the symbolic link points to.

To change the owner of a symbolic link _only_ you can use chown with the -h switch:
# chown -h user:group symboliclink

To change the owner of the _target_ the symbolic link points to:
# chown user:group symboliclink

One Response