1 02/13/85  list_acl, la
 2 
 3 Syntax as a command:  la {path} {User_ids} {-control_args}
 4 
 5 
 6 Syntax as an active function:  [la {path} {User_ids} {-control_args}]
 7 
 8 
 9 Function: lists the access control lists (ACLs) of nonlink entries in
10 a directory.
11 
12 
13 Arguments:
14 path
15    is the pathname of an entry.  If it is -working_directory (-wd),
16    your working directory is assumed.  The star convention is allowed.
17 User_ids
18    are access control names of the form Person_id.Project_id.tag.  All
19    ACL entries with matching names are listed.  If you don't give
20    User_ids, the entire ACL is listed.
21 
22 
23 Control arguments:
24 -brief, -bf
25    suppresses the message "User name not on ACL of path."  If you
26    invoke list_acl as an active function and User_id is not on the ACL,
27    the null string is returned.
28 -chase
29    chases links matching a star name.  Links are always chased when
30    path is not a star name.
31 -directory, -dr
32    lists the ACLs of directories only (see "Notes" below).  (Default:
33    segments, multisegment files, and directories)
34 -interpret_as_extended_entry, -inaee
35    interpret the selected entry as an extended entry type.
36 -interpret_as_standard_entry, -inase
37    interpret the selected entry as a standard entry type.
38 
39 
40 -no_chase
41    does not chase links.  (Default)
42 -ring_brackets, -rb
43    lists the ring brackets.  Not valid in the active function.
44 -segment, -sm
45    lists the ACLs of segments and multisegment files only.
46 -select_entry_type STR, -slet STR
47    affects only entries of the entry type selected by STR, which is a
48    comma-delimited list of file system entry types.  Use the
49    list_entry_types command to obtain a list of valid entry type
50    values.
51 
52 
53 Access required: You need status permission on the directory.
54 
55 
56 Notes: This command provides effective access information only when
57 discretionary access control is being used (regulated by an ACL).  If
58 either nondiscretionary access control (regulated by the AIM) or
59 intraprocess access control (regulated by the ring structure) is in
60 operation, use the status command to determine actual access.
61 
62 The -directory, -segment, and -select_entry_type control arguments are
63 used to resolve an ambiguous choice that may occur when path is a star
64 name.
65 
66 
67 If you invoke list_acl with no arguments, it lists the entire ACL of
68 your working directory.
69 
70 For a description of ACLs and ring brackets, see ACL.gi and the
71 Programmer's  Reference Manual.  For a description of the matching
72 strategy, see set_acl.