CompTIA Linux+ XK0-005 (v7) Practice Question

A user named jadmin reports they are unable to save changes to a file they own, /home/jadmin/notes.txt. A senior administrator runs ls -l /home/jadmin/notes.txt and sees the following output:

-r--r--r-- 1 jadmin jadmin 512 Aug 30 09:15 /home/jadmin/notes.txt

Which of the following commands should be run to grant the user write access to the file while adhering to the principle of least privilege?

  • mount -o remount,rw /home

  • chmod u+w /home/jadmin/notes.txt

  • chown root /home/jadmin/notes.txt

  • chmod 755 /home/jadmin/notes.txt

CompTIA Linux+ XK0-005 (v7)
Troubleshooting
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.

SAVE $47
$390.00 $343.00
Bash, the Crucial Exams Chat Bot
AI Bot