From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Create, manage, and diagnose advanced filesystem permissions - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Create, manage, and diagnose advanced filesystem permissions
- [Instructor] Now imagine we enter the command ls -l. And in some directory we see this list of files. We see that these are owned by the Alex user and the staff group. The first three permission bits, rw-, tell us that Alex can read and write to these files. The next three, rw-, tell us that any user belonging to the staff group can also read and write. And finally, the last three permission bits, r--, show us that all of the other users can only read these files but not write to them. Now as we can see, only the first set of permissions is very specific, targeted on a single user. The other two are very wide, applying to everyone in a group or all the other users on a system. However, most of the time this isn't a problem. But now imagine this. We're logged in as a user called Jeremy. He's obviously not Alex, and he doesn't belong to the staff. That means that the third set of permissions will be applied to him, r--. But what if we want Jeremy to be able to edit file3? We could…
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)
List, create, delete, and modify physical storage partitions10m 9s
-
(Locked)
Configure and manage swap space5m 32s
-
(Locked)
Create and configure filesystems9m 19s
-
(Locked)
Configure systems to mount filesystems at or during boot7m 19s
-
(Locked)
Filesystem and mount options5m 56s
-
(Locked)
Use remote filesystems: NFS12m 9s
-
(Locked)
Use network block devices: NBD11m 9s
-
(Locked)
Manage and configure LVM storage10m 38s
-
(Locked)
Monitor storage performance15m 47s
-
(Locked)
Create, manage, and diagnose advanced filesystem permissions11m 7s
-
(Locked)
-