How do I change the owner of a file group in Linux?
Answer
Use the following procedure to change the group ownership of a file.
Answer
Use the following procedure to change the group ownership of a file.
- Become superuser or assume an equivalent role.
- Change the group owner of a file by using the chgrp command. $ chgrp group filename. group. …
- Verify that the group owner of the file has changed. $ ls -l filename.