Which one of the follwing permission is correct for rwxr_xr__?
-
chmod 775
-
chmod 2754
-
chmod 754
-
chmod 277
C
Correct answer
Explanation
The permission string rwxr_xr__ translates to octal 754. Breaking it down: rwx = 4+2+1 = 7 (owner), r_x = 4+0+1 = 5 (group), r__ = 4+0+0 = 4 (others). So chmod 754 is correct. Option A (775) would give group write permission too. Option B (2754) includes a setgid bit (2) but the string doesn't show that. Option D (277) is incomplete - needs 4 digits and doesn't match.