Multiple choice

If a file has read and write permissions for the owner, the octal representation of the permissions will be

  1. 7

  2. 6

  3. 5

  4. 3

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Unix file permissions use octal notation: 4 (read), 2 (write), 1 (execute). For owner with read AND write: 4 + 2 = 6. This gives read (4) and write (2) permissions to the owner. The octal value 6 represents rw- (read-write, no execute) for the owner permission.