Difference between revisions of "Getfacl"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users. | Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users. | ||
+ | Source: http://wiki.linuxquestions.org/wiki/Getfacl | ||
+ | |||
+ | <pre> | ||
+ | getfacl /media/root/ | ||
+ | getfacl: Removing leading '/' from absolute path names | ||
+ | # file: media/root/ | ||
+ | # owner: root | ||
+ | # group: root | ||
+ | user::rwx | ||
+ | user:root:r-x | ||
+ | group::--- | ||
+ | mask::r-x | ||
+ | other::--- | ||
+ | </pre> | ||
− | |||
= See also = | = See also = |
Revision as of 11:14, 22 October 2020
getfacl is a file utility for viewing the access control list information associated with a file or directory.
Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users.
Source: http://wiki.linuxquestions.org/wiki/Getfacl
getfacl /media/root/ getfacl: Removing leading '/' from absolute path names # file: media/root/ # owner: root # group: root user::rwx user:root:r-x group::--- mask::r-x other::---
See also
Advertising: