Changing the owner of a symlink
I’ve decided to start a new post series: Ruben relearns obvious *nix things. Today, we try changing the owner of a symlink, fail, then realise we forgot to use the “-h” flag.
Trying to change the owner of a symlink this way doesn’t work:
# chown userX:groupX link
Now we use the
# chown -h userX:groupX link
Now when we list:
# [permissions] userX userY [date] link