Multiple choice technology operating systems

chmod 644 file.htm

  1. This gives the file read/write by the owner and only read by everyone else

  2. This gives the file read/execute by the owner and only read by everyone else

  3. This gives the file read/write by the owner and only execute by everyone else

  4. This gives the file read/write/execute by the owner and only execute by everyone else

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

chmod 644 sets permissions as: owner gets read (4) + write (2) = 6, group gets read (4) = 4, others get read (4) = 4. This results in read/write for owner and read-only for everyone else. Execute permission would require adding 1 to the octal value.