AI Hints
Home›Linux Tutorial›Permissions Practice
Linux · Lesson 75 of 120

Permissions Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:38:59🎓 Free
Watch this lesson in the Linux courseWatch on YouTube ↗Full Linux course

Permissions are one of the most important ideas in Linux, so let's check they've sunk in. Pause on each question, choose your answer, then listen to the explanation.

Permissions Quiz
From the video: Permissions Quiz
  • An important idea
  • Check it's sunk in
  • Pause and choose

Question 1

What does RWX, R dash X, R dash dash mean? The owner can do everything, the group can read and execute, and others can only read. That's seven five four in numbers.

Quick check
rwxr-xr-- means…

Question 2

You wrote a script, but running it says permission denied. What's the most likely fix? Sudo, CH mod plus X, or renaming it? The answer is CH mod plus X. The script just isn't executable yet.

Quick check
Your script says permission denied. Fix?

Question 3

Which number makes a file readable and writable by its owner only? Seven seven seven, six four four, or six hundred? The answer is six hundred. Six is read plus write, and the zeros mean nothing for everyone else.

Quick check
Owner read + write, nobody else anything?

Question 4

You were added to a new group, but you still get permission denied. Why? The answer is, your terminal started before you joined the group. Log out and back in.

Quick check
Added to a group, still denied. Why?

Summary

That's the end of the permissions section. You can read, change, and fix permissions, and manage users and groups. Next, a new section. Installing software.

Key takeaways
  • Read rwx strings
  • chmod letters and numbers
  • Users, groups, sudo
Next up: Package Managers — installing software the Linux way