PrepAway - Latest Free Exam Questions & Answers

CORRECT TEXT Change the Group Owner of /data to training group.

CORRECT TEXT
Change the Group Owner of /data to training group.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
chown or chgrp command is used to change the ownership.
Syntax of chown: chown [-R] username:groupname file/directory
Syntax of chgrp: chgrp [-R] groupname file/directory
Whenever user creates the file or directory, the owner of that file/directory automatically will be
that user and that user’s primary group name.
To change group owner ship
2. chgrp training /data àWhich set the Group Ownership to training
or
chown root.training /data àWhich set the user owner to root and group owner to training group.
Verify /data using: ls -ld /data
You will get: drwxr-xr-x 2 root training …………..


Leave a Reply