chgrp
What is chgrp?
The chgrp
command-line tool in Linux is used to change the group ownership of a file or directory. All files in Linux belong to an owner and a group. You can set the owner/group by using chown
command, and the group by the chgrp
command.
How to use chgrp
symlink --dereference (only the group owner of the file itself is changed, not the symbolic link)
symlink --no-dereference (only the group owner of the symbolic link will be changed, not the file it points to)
Last updated
Was this helpful?