Chown command

From Notes_Wiki

Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications > Chown command

Change ownership of symbolic links

Normally chown changes ownership of file / directory pointed by symbolic link. To change ownership of symbolic link itself we need to use '-h' option. For example

chown -h <user>:<group>  <symbolic-link-name.txt>

Refer:


Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications > Chown command