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

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Setting ownership

Setting ownership

- Linux is a multi-user operating system like we've talked about before. Now, because of this, we have lots of users accessing the same system. So, how does a user secure their files against unwanted access by those other users? Well, Linux handles these tasks through two types of features when you're dealing with files and directories. This is known as ownership and permission. Every file has an associate owner or account with that file or directory. It's linked to it as well as the associated group. Now, in addition to that ownership we have permissions. And these sets of permissions will define what the file's owner, the members of the file's group and the other users can do with that file. So there's three sets of permissions. We have ownership permissions for the user, for the group and then for all other users. These are all intertwined. But, when we're dealing with the text mode commands we're going to be able…

Contents