If you just do a normal chown user.user somedir
it won't work. You will see the ownership is still the previous owner.
How To Change Ownership Of Symlink:
The simplest part is just adding the -h which means no dereference so it applies the ownership on the symlink and does not try (and fail) to change ownership of the dereferenced symlink destination.
chown -h user.user somedir
chown, ownership, symlinkif, user, somedir, previous, symlink, simplest, adding, dereference, applies, dereferenced, destination,