nerdexam
CompTIA

XK0-005 · Question #427

Which of the following commands is used to configure the default permissions for new files?

The correct answer is C. umask. The user mask (umask) feature defines the default permissions Linux assigns to the file or directory. The user mask is an octal value that represents the bits to be removed from the octal mode 666 permissions for files or the octal mode 777 permissions for directories.

System Management

Question

Which of the following commands is used to configure the default permissions for new files?

Options

  • Asetenforce
  • Bsudo
  • Cumask
  • Dchmod

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    89% (32)
  • D
    3% (1)

Explanation

The user mask (umask) feature defines the default permissions Linux assigns to the file or directory. The user mask is an octal value that represents the bits to be removed from the octal mode 666 permissions for files or the octal mode 777 permissions for directories.

Topics

#umask#file permissions#Linux commands#system configuration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice