Chapter 7. Permissions: Mother, May I?

There are few things as confusing, frustrating, and aggravating for those who come to Linux from Windows as the whole notion of permissions.

Based on my own personal experience, I would say as much as 25% of the problems I’ve had using Linux over the years have been permissions related.

It’s a subject your mother didn’t teach you, and you didn’t learn on the playgrounds. That’s why we’re going to get down and dirty with the CLI today: to learn about permissions on Linux, right here, right now.

Reading, Writing, and Executing Files

Permissions are flags which control who can do what with a file. Which file? Any file on your system. For each file, there are three separate flags which indicate whether or not you ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.