Skip to content

chgrp

Changes the group of a directory or file.

Terminal window
chgrp (-R) [GROUP] [PATH]
  • (-R) — enables recursion mode
  • GROUP — the new group of the specified file or directory
  • PATH — the path to the file or directory to change the permissions
Terminal window
chgrp volk /home/volk

Result:
Set the new group of /home/volk to “volk”.