Linux chgrp command
Linux chgrp command is used for changing the group of the file or directory.
Syntax:
Example:
Set the file group of testfile.txt to group “staff”. Now all the member users of the staff group have privileges on file as a group user.
Change File Ownership Recursively
You can specify the option -R to change group recursively to all files in the specified directory an subdirectory. For example, Set the group staff to all files under /home/rahul directory.
0 Comments
CAN FEEDBACK
Emoji