Cloud & DevOps · Question 6 · Medium

After running chmod 754 report.sh, what are the permissions of report.sh?

  1. rwxr--r-x
  2. rwxr-xr--
  3. rwxrw-r--
  4. rw-r-xr--
Answer and explanation

Answer: B. rwxr-xr--

Explanation: Each digit is read (4) + write (2) + execute (1). 7 = rwx for the owner, 5 = r-x for the group and 4 = r-- for others, which gives rwxr-xr--.

Previous: What does Continuous Integration (CI) mean in DevOps? · Next: In Docker, what is the relationship between an image and a container?

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge