CompTIACompTIA
XK0-005 · Question #1560
XK0-005 Question #1560: Real Exam Question with Answer & Explanation
The correct answer is D: chmod 744 filename.log. The desired permission -rwxr--r-- breaks down as follows in octal notation: Thus, the correct command is: chmod 744 filename.log
System Management
Question
A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr--r--. ?
Options
- Achmod 755 filename.log
- Bchmod 640 filename.log
- Cchmod 740 filename.log
- Dchmod 744 filename.log
Explanation
The desired permission -rwxr--r-- breaks down as follows in octal notation: Thus, the correct command is: chmod 744 filename.log
Topics
#Linux permissions#chmod command#Octal notation#File system management
Community Discussion
No community discussion yet for this question.