Skip to content
Devops

Linux File Permissions And Chmod Patterns

🤖 AI-generated

Master Linux File Permissions And Chmod Patterns with 66 free flashcards. Study using spaced repetition and focus mode for effective learning in Devops.

66 cards · ~33 min · Advanced · 📊 5 cards read · 👥 1 learner · Updated

Sample card

What does rwxr-xr-- mean?

Owner: rwx (7).
Group: r-x (5).
Other: r-- (4).
Octal: 754.

Share: 𝕏 Twitter LinkedIn WhatsApp ☆ Save deck

🎯 What You'll Learn

Preview cards

Q · 1 of 66

What does rwxr-xr-- mean?

Q · 2 of 66

Convert 644 to symbolic.

Q · 3 of 66

Convert 755 to symbolic.

+9 more cards →

Preview Questions

12 shown

What does rwxr-xr-- mean?

Show ▼

Owner: rwx (7).
Group: r-x (5).
Other: r-- (4).
Octal: 754.

Convert 644 to symbolic.

Show ▼

rw-r--r-- — owner read+write, group read, others read.

Convert 755 to symbolic.

Show ▼

rwxr-xr-x — typical for executables and directories.

Convert 600 to symbolic.

Show ▼

rw------- — typical for private files like ~/.ssh/id_ed25519.

Convert 700 to symbolic.

Show ▼

rwx------ — typical for ~/.ssh directory.

Why must ~/.ssh be 700?

Show ▼

SSH refuses to use a key in a directory or with permissions that are group/world accessible — security check.

What does chmod u+x file do?

Show ▼

Adds the execute bit for the file's owner only.

Difference between chmod g+s dir and chmod o+t dir?

Show ▼

setgid on directory: new files inherit group of dir.
sticky bit: only owner can delete files in dir (like /tmp).

Setuid bit example?

Show ▼

chmod u+s /usr/bin/passwd — runs as file owner (root) regardless of caller. Use with care.

Numeric chmod for setuid+rwx for owner, rx for group/other?

Show ▼

4755.

How to recursively set 755 on dirs and 644 on files?

Show ▼

find . -type d -exec chmod 755 {} \; -o -type f -exec chmod 644 {} \;

Change owner and group?

Show ▼

chown user:group path; add -R for recursive.

🎓 Start studying Linux File Permissions And Chmod Patterns

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Devops

📖 Learning Resources