ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 413 - SK0-005 discussion

Report
Export

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?

A.
chown
Answers
A.
chown
B.
sestatus
Answers
B.
sestatus
C.
setenforce
Answers
C.
setenforce
D.
getenforce
Answers
D.
getenforce
E.
chmod
Answers
E.
chmod
Suggested answer: E

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.

asked 02/10/2024
Leandro Franklin Franklin
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first