Working with file permissions

In this section, we will learn about the concept of file access control in Linux. We will also learn and understand how to read file permissions. Finally, we will learn how to change file ownership as well as file permissions and show you practical file permission examples. If you print out the file's details using ls -l, you will see a list of different important file attributes we need to learn about so as to understand file permissions. A typical ls -l output looks like -lrwxr-xr-x olip administrator my-awsome-file.txt. Every file in the system is associated to exactly one username, which is also called the file owner.

Every file is also associated to exactly one group name, which is also called the group ...

Get Fundamentals of Linux now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.