nerdexam
CompTIA

XK0-005 · Question #634

Users in the human resources department are trying to access files in a newly created directory. Which of the following commands will allow the users access to the files?

The correct answer is B. chgrp. The chgrp command is used to change the group ownership of files and directories. By using this command, the administrator can assign the files in the newly created directory to the human resources group, which will allow the users in that group to access them.

System Management

Question

Users in the human resources department are trying to access files in a newly created directory. Which of the following commands will allow the users access to the files?

Options

  • Achattr
  • Bchgrp
  • Cchage
  • Dchcon

How the community answered

(40 responses)
  • B
    93% (37)
  • C
    3% (1)
  • D
    5% (2)

Explanation

The chgrp command is used to change the group ownership of files and directories. By using this command, the administrator can assign the files in the newly created directory to the human resources group, which will allow the users in that group to access them.

Topics

#File Permissions#Group Management#chgrp command#Linux Commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice