O'Reilly logo

CLI for Noobies: A Primer on the Linux Command Line by Joe Barr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required