From the course: LPI Linux Essentials (010-160) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Understanding permissions

Understanding permissions - Linux Tutorial

From the course: LPI Linux Essentials (010-160) Cert Prep

Start my 1-month free trial

Understanding permissions

- It's now time for us to start discussing how to set permissions. Now file ownership is really meaningless without some way to specify what a particular user can do with the files or folders that they own and that other people own. So let's begin with the display created by the ls command, which lists the files in a directory. So as we do this, we might use the -l option, which creates the long directory listings, which includes the file permissions. For example, let's see a long list of files, using ls -l test. This line is going to consist of several sections, which will provide all sorts of different information for us. First, we have the permissions. This first column shows us the file permissions. Then we have a number of links. This shows us the number of hard links to this file. These are the number of unique file names that may be used to access this particular file. Then we have the username. This…

Contents