From the course: Linux CentOS 7: Files and Permissions

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Delete ACLs

Delete ACLs - Linux Tutorial

From the course: Linux CentOS 7: Files and Permissions

Start my 1-month free trial

Delete ACLs

- [Host] 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. Let's create a directory called ACL del-dir using Mk dir. In a terminal, type in mkdir, space, ACL, deldir, and hit enter. Now let's add a couple of ACLs to it. Type in set facl space dash m space user colon route colon rwx space ACL deldir. There is a forward slash at the end of my directory 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 set facl space dash m space group colon route colon rwx space, ACL and then I'll hit my tab key again and it will complete the line. Hit enter. Let's add another group acl by typing in set facl space dash m space group, colon, audio, colon, rw space ACL deldir, and hit enter. The last ACL we'll add is a default ACL…

Contents