From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Unlock the full course today
Join today to access over 23,300 courses taught by industry experts.
Delete access control lists
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Delete access control lists
- [Instructor] Due to the added complexity of ACLs, there are three different ways of deleting ACLs on a file or directory. For this exercise, we'll need to create a directory and assign multiple ACLs to it. Lets create directory called acldeldir using mkdir. In a terminal type mkdir space acldeldir and hit enter. Now let's add a couple of ACLs to it. Type in setfacl space dash m, space user colon root colon rwx space acldeldir. There there is a forward slash at the end of my director name, because I typed in ACL, and then hit my tab key, and it completed the line for me. This is a great space saver, and I recommend it. Hit enter. Now let's add a group ACL by typing in setfacl space dash m space group colon root colon rwx space acl, and then I'll hit my tab key again and it'll complete the line. Hit enter. Let's add another group ACL by typing in setfacl space dash m space group colon audio colon rw space acldeldir, and hit enter. The last ACL will add as a default ACL. Type in…
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
-
-
-
-
File and directory modes1m 19s
-
(Locked)
Change file and directory ownership3m 14s
-
(Locked)
Set permissions using numeric mode3m 2s
-
(Locked)
Set permissions using symbolic mode4m 46s
-
(Locked)
Initial permissions using umask4m 30s
-
(Locked)
Special file bits: SUID and SGID4m 59s
-
(Locked)
Special directory bits: SGID and Sticky5m 55s
-
(Locked)
Read access control lists3m 36s
-
(Locked)
Set access control lists (ACLs)5m 49s
-
(Locked)
Configure inheritance with default access control lists4m 27s
-
(Locked)
Delete access control lists4m 15s
-
(Locked)
Challenge: File access control2m 34s
-
(Locked)
Solution: File access control6m 54s
-
-
-
-
-
-