1 .\" Access Control Lists manual pages
3 .\" (C) 2002 Andreas Gruenbacher, <a.gruenbacher@bestbits.at>
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 .\" GNU General Public License for more details.
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual. If not, see
22 .\" <http://www.gnu.org/licenses/>.
25 .Dt ACL_EXTENDED_FILE 3
29 .Nd test for information in ACLs by file name
31 Linux Access Control Lists library (libacl, \-lacl).
36 .Fn acl_extended_file "const char *path_p"
42 if the file or directory referred to by the argument
44 is associated with an extended access ACL, or if the directory referred to by
46 is associated with a default ACL. The function returns
48 if the file has neither an extended access ACL nor a default ACL.
50 An extended ACL is an ACL that contains entries other than the three
51 required entries of tag types ACL_USER_OBJ, ACL_GROUP_OBJ and ACL_OTHER.
54 function for a file object is
56 then ACLs define no discretionary access rights other than those
57 already defined by the traditional file permission bits.
59 Access to the file object may be further restricted by other
60 mechanisms, such as Mandatory Access Control schemes. The
62 system call can be used to check whether a given type of access to a file
63 object would be granted.
69 if the file object referred to by
71 has an extended access ACL or a default ACL, and
73 if the file object referred to by
75 has neither an extended access ACL nor a default ACL. Otherwise, the value
77 is returned and the global variable
79 is set to indicate the error.
81 If any of the following conditions occur, the
87 to the corresponding value:
90 Search permission is denied for a component of the path prefix.
91 .It Bq Er ENAMETOOLONG
92 The length of the argument
96 The named object does not exist or the argument
98 points to an empty string.
100 A component of the path prefix is not a directory.
102 The file system on which the file identified by
104 is located does not support ACLs, or ACLs are disabled.
107 This is a non-portable, Linux specific extension to the ACL manipulation
108 functions defined in IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned).
115 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .