CompTIA Server+ (SK0-004) — Question 63
Which of the following are the MOST appropriate permissions to set on files required to be publicly accessible but only modified by the file's original owner?
Answer options
- A. rw-rw-r--
- B. r--r--r--
- C. rwxrwxr--
- D. rwxrwxr-x
Correct answer: A
Explanation
The correct answer is A, as it allows the owner to read and write the file, while others can only read it, ensuring that only the original owner can modify it. Option B denies write access entirely, which is not sufficient for the owner. Options C and D grant too many permissions to group and others, allowing unwanted modifications.