CompTIA
XK0-005 · Question #565
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--. ?
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
How the community answered
(25 responses)- A8% (2)
- B12% (3)
- C4% (1)
- D76% (19)
Explanation
The desired permission -rwxr--r-- breaks down as follows in octal notation: Thus, the correct command is: chmod 744 filename.log
Topics
#chmod#file permissions#octal notation#Linux administration
Community Discussion
No community discussion yet for this question.