Difference between revisions of "Getfacl"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''getfacl''' is a file utility for viewing the [[access control list]] information associated with a file or directory.
+
{{lc}}<code>'''getfacl'''</code> 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.
 
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>
  
  
 +
== Related ==
 +
* [[ArwdDxt]]
  
Source: http://wiki.linuxquestions.org/wiki/Getfacl
 
  
= See also =
+
== See also ==
* [[lsattr]]
+
* {{lsattr}}
 
* [[setFacl]]
 
* [[setFacl]]
 
* [http://man-wiki.net/index.php/1:getfacl Getfacl Man page]
 
* [http://man-wiki.net/index.php/1:getfacl Getfacl Man page]

Latest revision as of 09:23, 23 August 2023

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::---


Related[edit]


See also[edit]

Advertising: