nerdexam
CompTIA

XK0-005 · Question #787

Users are unable to run applications stored on the /app1 mount point. A Linux systems administrator is investigating the issue and obtains the following output from the /etc/fstab file: Permissions…

The correct answer is A. noexec. Users being unable to run applications from the /app1 mount point, despite correct file permissions, is caused by the noexec mount option, which must be removed to allow execution.

Troubleshooting

Question

Users are unable to run applications stored on the /app1 mount point. A Linux systems administrator is investigating the issue and obtains the following output from the /etc/fstab file:

Permissions have been verified and should be correct. Which of the following options should the systems administrator remove from the mount point?

Options

  • Anoexec
  • Bnobarrier
  • Cnoatime
  • Dnoadirtime

How the community answered

(27 responses)
  • A
    74% (20)
  • B
    15% (4)
  • C
    4% (1)
  • D
    7% (2)

Why each option

Users being unable to run applications from the `/app1` mount point, despite correct file permissions, is caused by the `noexec` mount option, which must be removed to allow execution.

AnoexecCorrect

The `noexec` mount option explicitly prevents any executable binaries or scripts from being run from the filesystem where it is applied. Since users are unable to run applications but permissions are verified as correct, removing `noexec` from the `/app1` mount point will resolve the issue.

Bnobarrier

`nobarrier` is a mount option related to disk write barriers for data integrity in journaling filesystems and does not affect the ability to execute applications.

Cnoatime

`noatime` is a performance optimization that disables updating file access times but has no impact on whether files can be executed.

Dnoadirtime

`noadirtime` (assuming `nodiratime`) disables updating directory access times, which is a performance optimization that does not prevent application execution.

Concept tested: Filesystem mount options (noexec)

Source: https://man7.org/linux/man-pages/man8/mount.8.html

Topics

#fstab#mount options#noexec#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice