Apply creation masks to requested permissions

A Unix application performs two independent creation tests. In each test, it requests octal mode 666 for a new regular file and octal mode 777 for a new directory. The process's creation mask is shown in the table.


No parent directory has a default access control list, and no permissions are changed after creation. Complete the table with the resulting three-digit octal modes, without a leading zero. Each answer must contain exactly three digits.

Creation mask, octalNew file mode, octalNew directory mode, octal
027
137

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More The Unix/Linux Operating System Questions: