nerdexam
CompTIACompTIA

SK0-005 · Question #400

SK0-005 Question #400: Real Exam Question with Answer & Explanation

The correct answer is E: chmod. The given output in the image indicates that the file is present, but the permissions may not allow it to be read. The output indicates '-rw-------', which means that the file is set to be readable and writable by the owner only, with no permissions for group or others. To allow

Troubleshooting

Question

A technician is attempting to resolve an issue with a file server that is unable to download a file. Given the following output: Which of the following would best allow this file to be read?

Options

  • Achown
  • Bsestatus
  • Csetenforce
  • Dgetenforce
  • Echmod

Explanation

The given output in the image indicates that the file is present, but the permissions may not allow it to be read. The output indicates '-rw-------', which means that the file is set to be readable and writable by the owner only, with no permissions for group or others. To allow the file to be read by users other than the owner, the file's permissions will need to be changed. The chmod (change mode) command is used to change the file's permissions in Linux. For example, chmod 644 file would change the permissions of the file to be readable by everyone and writable by the owner, which is typically what's required for a file server. It is always recommended to apply the least permissive settings that still allow the required operation to maintain security.

Topics

#File permissions#Linux commands#File server#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full SK0-005 PracticeBrowse All SK0-005 Questions