What value should be used in chmod instruction in LINUX to provide…
2026
What value should be used in chmod instruction in LINUX to provide read/write/execute permission of files to all, i.e., owner, user, others.
- A.
111
- B.
333
- C.
555
- D.
777
Attempted by 10 students.
Show answer & explanation
Correct answer: D
In chmod notation, read = 4, write = 2, and execute = 1. All three permissions give 4 + 2 + 1 = 7 for each user class, so owner, group, and others all get 7, giving chmod 777.