Knowledge Base   /   Linux

How to change ownership of symbolic links?

Posted on 18 January 2023 11:35 am
$ sudo chown -h mj:mj test1
$ ls -l test*
-rw-r--r-- 1 mj mj 0 Jul 27 08:47 test
lrwxrwxrwx 1 mj mj 4 Jul 27 08:47 test1 -> test