Encode file permissions numerically

An administrator records the nine ordinary permission characters for three regular files, excluding the file-type character. Complete each numeric mode using read = 4, write = 2, and execute = 1. Enter exactly three octal digits in owner–group–others order, without a leading zero.

FilePermission charactersNumeric mode
observations.csvrw-r-xr--
intake.txtr--rw---x
launcherrwx---r-x

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: