Vidyalelo
Computer Science · Q627

Linux

Engineering and GATE · Computer Science · question 627

Q627

If user tries to remove (rm) a readonly file (444 permission), what will happen?

A.
The file is removed successfully (and silently)
B.
The rm command prompts for a confirmation, the command is successful upon confirmation
Answer
C.
The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
D.
The rm command fails because of insufficient permissions

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board