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 - Linux Tutorial
From the course: LPI Linux Essentials (010-160) Cert Prep
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Setting ownership4m 25s
-
(Locked)
Setting ownership demonstration4m 6s
-
(Locked)
Understanding permissions4m 9s
-
(Locked)
Permission strings and setting the umask6m 25s
-
(Locked)
Using sticky bits2m 44s
-
(Locked)
Using special execute permissions3m 41s
-
(Locked)
Hiding files and directories2m 24s
-
(Locked)
Setting permissions7m 9s
-
(Locked)
-