Saturday, September 5, 2015

Change owner or group of a symbolic link

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

Note: without the -h parameter, it will change the owner of the _target_ the symbolic link points to.

No comments: