CompTIA Linux+ XK0-006 (V8) Practice Question

A system administrator needs to alter the permissions on a script file named daily_check.sh. The requirements are to add execute permission for the user (owner) and the group, while also removing write permission for the group. The permissions for "others" and the owner's existing read/write permissions must not be changed. Which of the following commands will achieve this in a single operation using symbolic notation?

  • chmod a+x,g-w daily_check.sh

  • chmod u+x,g+x-w daily_check.sh

  • chmod u+x,g-w daily_check.sh

  • chmod u=rwx,g=rx daily_check.sh

CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot