Linux Essentials (010-160) — Question 24
Which of the following directories must be mounted with read and write access if it resides on its own dedicated file system?
Answer options
- A. /opt
- B. /lib
- C. /etc
- D. /var
- E. /usr
Correct answer: D
Explanation
/var is the directory that typically requires read and write access as it stores variable data like logs, databases, and spool files. In contrast, /lib, /etc, /usr, and /opt are generally mounted with read-only access since they contain system binaries and configuration files that do not change frequently.