CompTIA
SK0-005 · Question #242
An administrator discovers a Bash script file has the following permissions set in octal notation: 777 Which of the following is the MOST appropriate command to ensure only the root user can modify an
Sign in or unlock SK0-005 to reveal the answer and full explanation for question #242. The question stem and answer options stay visible for context.
Security and disaster recovery
Question
An administrator discovers a Bash script file has the following permissions set in octal notation:
777 Which of the following is the MOST appropriate command to ensure only the root user can modify and execute the script?
Options
- Achmod go-rwx
- Bchmod u=rwx
- Cchmod u+wx
- Dchmod g-rwx
Unlock SK0-005 to see the answer
You've previewed enough free SK0-005 questions. Unlock SK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#File Permissions#Linux Commands#chmod#Script Security