John works as a Network Administrator for We-are-Secure Inc. The company uses a Linux server.John wants to give the following file permissions to the imp.c file:
l Read, Write, and Execute permissions to the owner
l Read and Write permissions to groups
l Read Only permissions to other users
Which of the following commands will John use to accomplish the task?
A . chmod 765
B . chmod 777
C . chmod 712
D . chmod 764
Answer: D