nerdexam
CompTIACompTIA

XK0-005 · Question #1089

XK0-005 Question #1089: Real Exam Question with Answer & Explanation

The correct answer is A: umask 0022. Default file permissions are 0666, umask 0022 results in 0644. User has read + write (6). Group and Other has Read (4) only.

System Management

Question

A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory. Which of the following commands will help achieve this task?

Options

  • Aumask 0022
  • Cchmod -R 0644 /
  • Dchmod -R 0755 /

Explanation

Default file permissions are 0666, umask 0022 results in 0644. User has read + write (6). Group and Other has Read (4) only.

Topics

#umask#File Permissions#Default Permissions#Access Control

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions