CompTIA Linux+ XK0-005 Practice Question
A user reports that they are unable to write to a file named 'report.txt' located in their home directory. However, they have confirmed that they can read the file. Which of the following is the BEST action to take in order to grant the user write access to the file?
Edit the /etc/fstab file to alter mounting options for the user's home directory
Change the ownership of the file using the chown command
Change the file permissions to allow write access for the user
Restart the file service to refresh user permissions