In this video, Kevin Dankwardt describes and demonstrates the getfacl and setfacl commands. We use ACLs to give a user more or less permissions on files. We also see how to remove ACLs.
- [Instructor] Access control lists are…another mechanism for permission on files and directories.…It's finer control than the usual owner group…other rwx stuff, because you can give access…to, for example, individual users.…That's different than other.…So the file system needs to support this.…And when you mount the file system,…you can have the option to have it enforce the ACLs.…
This is pretty common, and even NFS supports ACLs.…So when you have an ACL set for a user on a file,…that's what they get, not the other sort of permission.…So there are access ACLs for a specific file or directory…that says, for example, this user is given this permission.…An ACL on a directory that's default, means that things…in that directory will inherit that ACL automatically.…
And so you can set per user, per group or you can set…a mask, which will limit the ACLs that can be sent.…To find out what the ACLs are on something, use getfacl.…Getfacl. So here we did it on some file newdate.txt.…And it has kind of comments there: file, owner, and group.…
- Partitioning storage
- Creating, mounting, and unmounting file systems
- Formatting file systems
- Making volumes with LVM
- Adding storage security
- Managing swap spaces
- Backing up and recovering Linux storage systems
- Working with networked file systems like NFS and SSHFS
Skill Level Intermediate
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Disk Partitions, Formatting, and Mounting
2. Logical Volume Manager (LVM)
3. Security and Resource Constraints
4. Special Storage Features and Considerations
5. Networked File Systems
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.