Difference between revisions of "Chown command"
From Notes_Wiki
|  (Created page with "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 '<tt>-h</tt>' option.  For example <pre> chown -h <user>:<group>  <symbolic-link-name.txt> </pre>  Refer: * https://unix.stackexch...") | 
| (No difference) | 
Latest revision as of 05:31, 15 October 2022
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

