0Pricing
Linux Command Line Mastery · Lesson

File Permissions and Ownership with chmod and chown

Bridge user management and security by learning how Linux permissions work and how to set them with chmod and chown.

Permissions Connect Users and Files

Now that you can create users and groups, the next step is controlling what each user can do with files. Linux enforces this through file permissions and ownership.

Reading ls -l Output

ls -l shows a permission string like -rwxr-xr--. The first char is the file type; the next three triples are permissions for owner, group, and others.

ls -l /etc/passwd

All lessons in this course

  1. User and Group Management: `useradd`, `usermod`, `groupadd`
  2. Introduction to Networking Commands: `ping`, `ip`, `netstat`
  3. Secure Remote Access: `ssh` and `scp`
  4. File Permissions and Ownership with chmod and chown
← Back to Linux Command Line Mastery