nerdexam
ExamsXK0-004Questions#43
CompTIA

XK0-004 · Question #43

XK0-004 Question #43: Real Exam Question with Answer & Explanation

The correct answer is D: 0027. The permissions we want are 750 for directories and 640 for files. To calculate the umask value simply subtract the desired permissions from the default one: Umask value: 777-750 = 027 https://linuxize.com/post/umask-command-in-linux/

Question

Which of the following settings for umask ensures that new files have the default permissions -rw- r----- ?

Options

  • A0017
  • B0640
  • C0038
  • D0027

Explanation

The permissions we want are 750 for directories and 640 for files. To calculate the umask value simply subtract the desired permissions from the default one: Umask value: 777-750 = 027 https://linuxize.com/post/umask-command-in-linux/

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice
Which of the following settings for umask ensures that new files... | XK0-004 Q#43 Answer | NerdExam