From the course: Linux: Files and Permissions
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Read ACLs - Linux Tutorial
From the course: Linux: Files and Permissions
Read ACLs
- [Instructor] Because ACLs are layered onto standard Linux permissions, we can't use standard tools such as LS to list them. With ACLs comes a suite of new tools. Let's take a look. Go to a terminal and create a directory using the mkdir command by typing mkdir ~/aclexercise and hit enter, and change into it by typing in cd ~/aclexercise and hit enter again. You can check your path with PWD. Now let's create a file and place in ACL on it. Type in touch aclfile and hit enter. Verify the file with LS -l. In order to read the ACLs on a file, we'll use the get file aclcommand. Get facls installed by default and enterprise Linux, but if you're using another distribution, you may have to install ACL support before proceeding. If ACLs are not installed, you'll get an error message saying they are not supported. Once they're installed, you'll need to mount the file system with ACLs turned on. I will leave that…
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.