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 22,400 courses taught by industry experts or purchase this course individually.
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
-
Change file and directory ownership3m 14s
-
Set permissions using numeric mode3m 2s
-
Set permissions using symbolic mode4m 46s
-
Initial permissions using umask4m 30s
-
Special file bits: SUID and SGID4m 59s
-
Special directory bits: SGID and Sticky5m 55s
-
Read access control lists3m 36s
-
Set access control lists (ACLs)5m 49s
-
Configure inheritance with default access control lists4m 27s
-
Delete access control lists4m 15s
-
Challenge: File access control2m 34s
-
Solution: File access control6m 54s
-
-
-
-
-
-