]> git.k1024.org Git - debian-pylibacl.git/blob - posix1e.html
Imported upstream version 0.2.2
[debian-pylibacl.git] / posix1e.html
1
2 <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module posix1e</title>
4 <style type="text/css"><!--
5 TT { font-family: lucidatypewriter, lucida console, courier }
6 --></style></head><body bgcolor="#f0f0f8">
7
8 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
9 <tr bgcolor="#7799ee">
10 <td valign=bottom>&nbsp;<br>
11 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>posix1e</strong></big></big></font></td
12 ><td align=right valign=bottom
13 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/iusty/work/pylibacl/build/lib.linux-i686-2.2/posix1e.so">/home/iusty/work/pylibacl/build/lib.linux-i686-2.2/posix1e.so</a></font></td></tr></table>
14     <p><tt>POSIX.1e&nbsp;ACLs&nbsp;manipulation<br>
15 &nbsp;<br>
16 This&nbsp;module&nbsp;provides&nbsp;support&nbsp;for&nbsp;manipulating&nbsp;POSIX.1e&nbsp;ACLS<br>
17 &nbsp;<br>
18 Depending&nbsp;on&nbsp;the&nbsp;operating&nbsp;system&nbsp;support&nbsp;for&nbsp;POSIX.1e,&nbsp;<br>
19 the&nbsp;<a href="#ACL">ACL</a>&nbsp;type&nbsp;will&nbsp;have&nbsp;more&nbsp;or&nbsp;less&nbsp;capabilities:<br>
20 &nbsp;&nbsp;-&nbsp;level&nbsp;1,&nbsp;only&nbsp;basic&nbsp;support,&nbsp;you&nbsp;can&nbsp;create<br>
21 &nbsp;&nbsp;&nbsp;&nbsp;ACLs&nbsp;from&nbsp;files&nbsp;and&nbsp;text&nbsp;descriptions;<br>
22 &nbsp;&nbsp;&nbsp;&nbsp;once&nbsp;created,&nbsp;the&nbsp;type&nbsp;is&nbsp;immutable<br>
23 &nbsp;&nbsp;-&nbsp;level&nbsp;2,&nbsp;complete&nbsp;support,&nbsp;you&nbsp;can&nbsp;alter<br>
24 &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;once&nbsp;it&nbsp;is&nbsp;created<br>
25 &nbsp;<br>
26 Also,&nbsp;in&nbsp;level&nbsp;2,&nbsp;more&nbsp;types&nbsp;are&nbsp;available,&nbsp;corresponding<br>
27 to&nbsp;acl_entry_t&nbsp;(<a href="#Entry">Entry</a>&nbsp;type),&nbsp;acl_permset_t&nbsp;(<a href="#Permset">Permset</a>&nbsp;type).<br>
28 &nbsp;<br>
29 Example:<br>
30 &gt;&gt;&gt;&nbsp;import&nbsp;posix1e<br>
31 &gt;&gt;&gt;&nbsp;acl1&nbsp;=&nbsp;posix1e.<a href="#ACL">ACL</a>(file="file.txt")&nbsp;<br>
32 &gt;&gt;&gt;&nbsp;print&nbsp;acl1<br>
33 user::rw-<br>
34 group::rw-<br>
35 other::r--<br>
36 &nbsp;<br>
37 &gt;&gt;&gt;&nbsp;b&nbsp;=&nbsp;posix1e.<a href="#ACL">ACL</a>(text="u::rx,g::-,o::-")<br>
38 &gt;&gt;&gt;&nbsp;print&nbsp;b<br>
39 user::r-x<br>
40 group::---<br>
41 other::---<br>
42 &nbsp;<br>
43 &gt;&gt;&gt;&nbsp;b.applyto("file.txt")<br>
44 &gt;&gt;&gt;&nbsp;print&nbsp;posix1e.<a href="#ACL">ACL</a>(file="file.txt")<br>
45 user::r-x<br>
46 group::---<br>
47 other::---<br>
48 &nbsp;<br>
49 &gt;&gt;&gt;</tt></p>
50
51 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
52 <tr bgcolor="#ee77aa">
53 <td colspan=3 valign=bottom>&nbsp;<br>
54 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
55     
56 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;&nbsp;</td>
57 <td width="100%"><dl>
58 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
59 </font></dt><dd>
60 <dl>
61 <dt><font face="helvetica, arial"><a href="posix1e.html#ACL">ACL</a>
62 </font></dt><dt><font face="helvetica, arial"><a href="posix1e.html#Entry">Entry</a>
63 </font></dt><dt><font face="helvetica, arial"><a href="posix1e.html#Permset">Permset</a>
64 </font></dt></dl>
65 </dd>
66 </dl>
67  
68 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
69 <tr bgcolor="#ffc8d8">
70 <td colspan=3 valign=bottom>&nbsp;<br>
71 <font color="#000000" face="helvetica, arial"><a name="ACL">class <strong>ACL</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
72     
73 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
74 <td colspan=2><tt>Type&nbsp;which&nbsp;represents&nbsp;a&nbsp;POSIX&nbsp;<a href="#ACL">ACL</a><br>
75 &nbsp;<br>
76 Parameters:<br>
77 &nbsp;&nbsp;Only&nbsp;one&nbsp;keword&nbsp;parameter&nbsp;should&nbsp;be&nbsp;provided:<br>
78 &nbsp;&nbsp;-&nbsp;file="...",&nbsp;meaning&nbsp;create&nbsp;<a href="#ACL">ACL</a>&nbsp;representing<br>
79 &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;access&nbsp;<a href="#ACL">ACL</a>&nbsp;of&nbsp;that&nbsp;file<br>
80 &nbsp;&nbsp;-&nbsp;filedef="...",&nbsp;meaning&nbsp;create&nbsp;<a href="#ACL">ACL</a>&nbsp;representing<br>
81 &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;default&nbsp;<a href="#ACL">ACL</a>&nbsp;of&nbsp;that&nbsp;directory<br>
82 &nbsp;&nbsp;-&nbsp;fd=&lt;int&gt;,&nbsp;meaning&nbsp;create&nbsp;<a href="#ACL">ACL</a>&nbsp;representing<br>
83 &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;access&nbsp;<a href="#ACL">ACL</a>&nbsp;of&nbsp;that&nbsp;file&nbsp;descriptor<br>
84 &nbsp;&nbsp;-&nbsp;text="...",&nbsp;meaning&nbsp;create&nbsp;<a href="#ACL">ACL</a>&nbsp;from&nbsp;a&nbsp;<br>
85 &nbsp;&nbsp;&nbsp;&nbsp;textual&nbsp;description<br>
86 &nbsp;&nbsp;-&nbsp;acl=&lt;<a href="#ACL">ACL</a>&nbsp;instance&gt;,&nbsp;meaning&nbsp;create&nbsp;a&nbsp;copy<br>
87 &nbsp;&nbsp;&nbsp;&nbsp;of&nbsp;an&nbsp;existing&nbsp;<a href="#ACL">ACL</a>&nbsp;instance<br>
88 If&nbsp;no&nbsp;parameters&nbsp;are&nbsp;passed,&nbsp;create&nbsp;an&nbsp;empty&nbsp;<a href="#ACL">ACL</a>;&nbsp;this<br>
89 makes&nbsp;sense&nbsp;only&nbsp;when&nbsp;your&nbsp;OS&nbsp;supports&nbsp;<a href="#ACL">ACL</a>&nbsp;modification<br>
90 &nbsp;(i.e.&nbsp;it&nbsp;implements&nbsp;full&nbsp;POSIX.1e&nbsp;support)<br>&nbsp;</tt></td></tr>
91 <tr><td>&nbsp;&nbsp;</td>
92 <td width="100%">Methods defined here:<br>
93 <dl><dt><a name="ACL-__getstate__"><strong>__getstate__</strong></a>(...)</dt><dd><tt>Dumps&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;to&nbsp;an&nbsp;external&nbsp;format.</tt></dd></dl>
94
95 <dl><dt><a name="ACL-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
96
97 <dl><dt><a name="ACL-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
98
99 <dl><dt><a name="ACL-__setstate__"><strong>__setstate__</strong></a>(...)</dt><dd><tt>Loads&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;from&nbsp;an&nbsp;external&nbsp;format.</tt></dd></dl>
100
101 <dl><dt><a name="ACL-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
102
103 <dl><dt><a name="ACL-append"><strong>append</strong></a>(...)</dt><dd><tt>Append&nbsp;a&nbsp;new&nbsp;<a href="#Entry">Entry</a>&nbsp;to&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;and&nbsp;return&nbsp;it.<br>
104 &nbsp;<br>
105 This&nbsp;is&nbsp;a&nbsp;convenience&nbsp;function&nbsp;to&nbsp;create&nbsp;a&nbsp;new&nbsp;<a href="#Entry">Entry</a>&nbsp;<br>
106 and&nbsp;append&nbsp;it&nbsp;to&nbsp;the&nbsp;<a href="#ACL">ACL</a>.<br>
107 If&nbsp;a&nbsp;parameter&nbsp;of&nbsp;type&nbsp;<a href="#Entry">Entry</a>&nbsp;instance&nbsp;is&nbsp;given,&nbsp;the&nbsp;<br>
108 entry&nbsp;will&nbsp;be&nbsp;a&nbsp;copy&nbsp;of&nbsp;that&nbsp;one&nbsp;(as&nbsp;if&nbsp;copied&nbsp;with&nbsp;<br>
109 <a href="#Entry">Entry</a>.copy()),&nbsp;otherwise,&nbsp;the&nbsp;new&nbsp;entry&nbsp;will&nbsp;be&nbsp;empty.</tt></dd></dl>
110
111 <dl><dt><a name="ACL-applyto"><strong>applyto</strong></a>(...)</dt><dd><tt>Apply&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;to&nbsp;a&nbsp;file&nbsp;or&nbsp;filehandle.<br>
112 &nbsp;<br>
113 Parameters:<br>
114 &nbsp;&nbsp;-&nbsp;either&nbsp;a&nbsp;filename&nbsp;or&nbsp;a&nbsp;file-like&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;or&nbsp;an&nbsp;integer;&nbsp;this<br>
115 &nbsp;&nbsp;&nbsp;&nbsp;represents&nbsp;the&nbsp;filesystem&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;on&nbsp;which&nbsp;to&nbsp;act<br>
116 &nbsp;&nbsp;-&nbsp;optional&nbsp;flag&nbsp;representing&nbsp;the&nbsp;type&nbsp;of&nbsp;<a href="#ACL">ACL</a>&nbsp;to&nbsp;set,&nbsp;either<br>
117 &nbsp;&nbsp;&nbsp;&nbsp;ACL_TYPE_ACCESS&nbsp;(default)&nbsp;or&nbsp;ACL_TYPE_DEFAULT</tt></dd></dl>
118
119 <dl><dt><a name="ACL-calc_mask"><strong>calc_mask</strong></a>(...)</dt><dd><tt>Compute&nbsp;the&nbsp;file&nbsp;group&nbsp;class&nbsp;mask.<br>
120 &nbsp;<br>
121 The&nbsp;<a href="#ACL-calc_mask">calc_mask</a>()&nbsp;method&nbsp;calculates&nbsp;and&nbsp;sets&nbsp;the&nbsp;permissions&nbsp;<br>
122 associated&nbsp;with&nbsp;the&nbsp;ACL_MASK&nbsp;<a href="#Entry">Entry</a>&nbsp;of&nbsp;the&nbsp;<a href="#ACL">ACL</a>.<br>
123 The&nbsp;value&nbsp;of&nbsp;the&nbsp;new&nbsp;permissions&nbsp;is&nbsp;the&nbsp;union&nbsp;of&nbsp;the&nbsp;permissions&nbsp;<br>
124 granted&nbsp;by&nbsp;all&nbsp;entries&nbsp;of&nbsp;tag&nbsp;type&nbsp;ACL_GROUP,&nbsp;ACL_GROUP_OBJ,&nbsp;or&nbsp;<br>
125 ACL_USER.&nbsp;&nbsp;If&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;already&nbsp;contains&nbsp;an&nbsp;ACL_MASK&nbsp;entry,&nbsp;its&nbsp;<br>
126 permissions&nbsp;are&nbsp;overwritten;&nbsp;if&nbsp;it&nbsp;does&nbsp;not&nbsp;contain&nbsp;an&nbsp;ACL_MASK&nbsp;<br>
127 <a href="#Entry">Entry</a>,&nbsp;one&nbsp;is&nbsp;added.<br>
128 &nbsp;<br>
129 The&nbsp;order&nbsp;of&nbsp;existing&nbsp;entries&nbsp;in&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;is&nbsp;undefined&nbsp;after&nbsp;this&nbsp;<br>
130 function.</tt></dd></dl>
131
132 <dl><dt><a name="ACL-delete_entry"><strong>delete_entry</strong></a>(...)</dt><dd><tt>Deletes&nbsp;an&nbsp;entry&nbsp;from&nbsp;the&nbsp;<a href="#ACL">ACL</a>.<br>
133 &nbsp;<br>
134 Note:&nbsp;Only&nbsp;with&nbsp;level&nbsp;2<br>
135 Parameters:<br>
136 &nbsp;-&nbsp;the&nbsp;<a href="#Entry">Entry</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;which&nbsp;should&nbsp;be&nbsp;deleted;&nbsp;note&nbsp;that&nbsp;after<br>
137 &nbsp;&nbsp;&nbsp;this&nbsp;function&nbsp;is&nbsp;called,&nbsp;that&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;is&nbsp;unusable&nbsp;any&nbsp;longer<br>
138 &nbsp;&nbsp;&nbsp;and&nbsp;should&nbsp;be&nbsp;deleted</tt></dd></dl>
139
140 <dl><dt><a name="ACL-next"><strong>next</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-next">next</a>()&nbsp;-&gt;&nbsp;the&nbsp;next&nbsp;value,&nbsp;or&nbsp;raise&nbsp;StopIteration</tt></dd></dl>
141
142 <dl><dt><a name="ACL-valid"><strong>valid</strong></a>(...)</dt><dd><tt>Test&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;for&nbsp;validity.<br>
143 &nbsp;<br>
144 This&nbsp;method&nbsp;tests&nbsp;the&nbsp;<a href="#ACL">ACL</a>&nbsp;to&nbsp;see&nbsp;if&nbsp;it&nbsp;is&nbsp;a&nbsp;valid&nbsp;<a href="#ACL">ACL</a><br>
145 in&nbsp;terms&nbsp;of&nbsp;the&nbsp;filesystem.&nbsp;More&nbsp;precisely,&nbsp;it&nbsp;checks:<br>
146 A&nbsp;valid&nbsp;<a href="#ACL">ACL</a>&nbsp;contains&nbsp;exactly&nbsp;one&nbsp;entry&nbsp;with&nbsp;each&nbsp;of&nbsp;the&nbsp;ACL_USER_OBJ,<br>
147 ACL_GROUP_OBJ,&nbsp;and&nbsp;ACL_OTHER&nbsp;tag&nbsp;types.&nbsp;Entries&nbsp;with&nbsp;ACL_USER&nbsp;and<br>
148 ACL_GROUP&nbsp;tag&nbsp;types&nbsp;may&nbsp;appear&nbsp;zero&nbsp;or&nbsp;more&nbsp;times&nbsp;in&nbsp;an&nbsp;<a href="#ACL">ACL</a>.&nbsp;An&nbsp;<a href="#ACL">ACL</a>&nbsp;that<br>
149 contains&nbsp;entries&nbsp;of&nbsp;ACL_USER&nbsp;or&nbsp;ACL_GROUP&nbsp;tag&nbsp;types&nbsp;must&nbsp;contain&nbsp;exactly<br>
150 one&nbsp;entry&nbsp;of&nbsp;the&nbsp;ACL_MASK&nbsp;tag&nbsp;type.&nbsp;If&nbsp;an&nbsp;<a href="#ACL">ACL</a>&nbsp;contains&nbsp;no&nbsp;entries&nbsp;of<br>
151 ACL_USER&nbsp;or&nbsp;ACL_GROUP&nbsp;tag&nbsp;types,&nbsp;the&nbsp;ACL_MASK&nbsp;entry&nbsp;is&nbsp;optional.<br>
152 &nbsp;<br>
153 All&nbsp;user&nbsp;ID&nbsp;qualifiers&nbsp;must&nbsp;be&nbsp;unique&nbsp;among&nbsp;all&nbsp;entries&nbsp;of&nbsp;ACL_USER&nbsp;tag<br>
154 type,&nbsp;and&nbsp;all&nbsp;group&nbsp;IDs&nbsp;must&nbsp;be&nbsp;unique&nbsp;among&nbsp;all&nbsp;entries&nbsp;of&nbsp;ACL_GROUP&nbsp;tag<br>
155 type.<br>
156 &nbsp;<br>
157 The&nbsp;method&nbsp;will&nbsp;return&nbsp;1&nbsp;for&nbsp;a&nbsp;valid&nbsp;<a href="#ACL">ACL</a>&nbsp;and&nbsp;0&nbsp;for&nbsp;an&nbsp;invalid&nbsp;one.<br>
158 This&nbsp;has&nbsp;been&nbsp;chosen&nbsp;because&nbsp;the&nbsp;specification&nbsp;for&nbsp;acl_valid&nbsp;in&nbsp;POSIX.1e<br>
159 documents&nbsp;only&nbsp;one&nbsp;possible&nbsp;value&nbsp;for&nbsp;errno&nbsp;in&nbsp;case&nbsp;of&nbsp;an&nbsp;invalid&nbsp;<a href="#ACL">ACL</a>,&nbsp;<br>
160 so&nbsp;we&nbsp;can't&nbsp;differentiate&nbsp;between&nbsp;classes&nbsp;of&nbsp;errors.&nbsp;Other&nbsp;suggestions&nbsp;<br>
161 are&nbsp;welcome.</tt></dd></dl>
162
163 <hr>
164 Data and non-method functions defined here:<br>
165 <dl><dt><strong>__doc__</strong> = 'Type which represents a POSIX ACL<font color="#c040c0">\n\n</font>Parameters:<font color="#c040c0">\n</font> ...tion<font color="#c040c0">\n</font> (i.e. it implements full POSIX.1e support)<font color="#c040c0">\n</font>'<dd><tt>str(<a href="__builtin__.html#object">object</a>)&nbsp;-&gt;&nbsp;string<br>
166 &nbsp;<br>
167 Return&nbsp;a&nbsp;nice&nbsp;string&nbsp;representation&nbsp;of&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>.<br>
168 If&nbsp;the&nbsp;argument&nbsp;is&nbsp;a&nbsp;string,&nbsp;the&nbsp;return&nbsp;value&nbsp;is&nbsp;the&nbsp;same&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dl>
169
170 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#ACL-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
171
172 <hr>
173 Methods inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
174 <dl><dt><a name="ACL-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
175
176 <dl><dt><a name="ACL-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
177
178 <dl><dt><a name="ACL-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
179
180 <dl><dt><a name="ACL-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>helper&nbsp;for&nbsp;pickle</tt></dd></dl>
181
182 <dl><dt><a name="ACL-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
183
184 <dl><dt><a name="ACL-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ACL-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
185
186 <hr>
187 Data and non-method functions inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
188 <dl><dt><strong>__class__</strong> = &lt;type 'type'&gt;<dd><tt>the&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;class</tt></dl>
189
190 </td></tr></table> 
191 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
192 <tr bgcolor="#ffc8d8">
193 <td colspan=3 valign=bottom>&nbsp;<br>
194 <font color="#000000" face="helvetica, arial"><a name="Entry">class <strong>Entry</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
195     
196 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
197 <td colspan=2><tt>Type&nbsp;which&nbsp;represents&nbsp;an&nbsp;entry&nbsp;in&nbsp;an&nbsp;<a href="#ACL">ACL</a>.<br>
198 &nbsp;<br>
199 The&nbsp;type&nbsp;exists&nbsp;only&nbsp;if&nbsp;the&nbsp;OS&nbsp;has&nbsp;full&nbsp;support&nbsp;for&nbsp;POSIX.1e<br>
200 Can&nbsp;be&nbsp;created&nbsp;either&nbsp;by:<br>
201 &nbsp;&nbsp;e&nbsp;=&nbsp;posix1e.<a href="#Entry">Entry</a>(myACL)&nbsp;#&nbsp;this&nbsp;creates&nbsp;a&nbsp;new&nbsp;entry&nbsp;in&nbsp;the&nbsp;<a href="#ACL">ACL</a><br>
202 or&nbsp;by:<br>
203 &nbsp;&nbsp;for&nbsp;entry&nbsp;in&nbsp;myACL:<br>
204 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;entry<br>
205 &nbsp;<br>
206 Note&nbsp;that&nbsp;the&nbsp;<a href="#Entry">Entry</a>&nbsp;keeps&nbsp;a&nbsp;reference&nbsp;to&nbsp;its&nbsp;<a href="#ACL">ACL</a>,&nbsp;so&nbsp;even&nbsp;if&nbsp;<br>
207 you&nbsp;delete&nbsp;the&nbsp;<a href="#ACL">ACL</a>,&nbsp;it&nbsp;won't&nbsp;be&nbsp;cleaned&nbsp;up&nbsp;and&nbsp;will&nbsp;continue&nbsp;to&nbsp;<br>
208 exist&nbsp;until&nbsp;its&nbsp;<a href="#Entry">Entry</a>(ies)&nbsp;will&nbsp;be&nbsp;deleted.<br>&nbsp;</tt></td></tr>
209 <tr><td>&nbsp;&nbsp;</td>
210 <td width="100%">Methods defined here:<br>
211 <dl><dt><a name="Entry-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
212
213 <dl><dt><a name="Entry-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
214
215 <dl><dt><a name="Entry-copy"><strong>copy</strong></a>(...)</dt><dd><tt>Copy&nbsp;an&nbsp;<a href="#ACL">ACL</a>&nbsp;entry.<br>
216 &nbsp;<br>
217 This&nbsp;method&nbsp;sets&nbsp;all&nbsp;the&nbsp;parameters&nbsp;to&nbsp;those&nbsp;of&nbsp;another<br>
218 entry,&nbsp;even&nbsp;one&nbsp;of&nbsp;another's&nbsp;<a href="#ACL">ACL</a><br>
219 Parameters:<br>
220 &nbsp;-&nbsp;src,&nbsp;instance&nbsp;of&nbsp;type&nbsp;<a href="#Entry">Entry</a></tt></dd></dl>
221
222 <hr>
223 Data and non-method functions defined here:<br>
224 <dl><dt><strong>__doc__</strong> = 'Type which represents an entry in an ACL.<font color="#c040c0">\n\n</font>The t... to <font color="#c040c0">\n</font>exist until its Entry(ies) will be deleted.<font color="#c040c0">\n</font>'<dd><tt>str(<a href="__builtin__.html#object">object</a>)&nbsp;-&gt;&nbsp;string<br>
225 &nbsp;<br>
226 Return&nbsp;a&nbsp;nice&nbsp;string&nbsp;representation&nbsp;of&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>.<br>
227 If&nbsp;the&nbsp;argument&nbsp;is&nbsp;a&nbsp;string,&nbsp;the&nbsp;return&nbsp;value&nbsp;is&nbsp;the&nbsp;same&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dl>
228
229 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Entry-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
230
231 <dl><dt><strong>parent</strong> = &lt;attribute 'parent' of 'posix1e.Entry' objects&gt;<dd><tt>The&nbsp;parent&nbsp;<a href="#ACL">ACL</a>&nbsp;of&nbsp;this&nbsp;entry</tt></dl>
232
233 <dl><dt><strong>permset</strong> = &lt;attribute 'permset' of 'posix1e.Entry' objects&gt;<dd><tt>The&nbsp;permission&nbsp;set&nbsp;of&nbsp;this&nbsp;<a href="#ACL">ACL</a>&nbsp;entry</tt></dl>
234
235 <dl><dt><strong>qualifier</strong> = &lt;attribute 'qualifier' of 'posix1e.Entry' objects&gt;<dd><tt>The&nbsp;qualifier&nbsp;of&nbsp;the&nbsp;current&nbsp;entry<br>
236 &nbsp;<br>
237 If&nbsp;the&nbsp;tag&nbsp;type&nbsp;is&nbsp;ACL_USER,&nbsp;this&nbsp;should&nbsp;be&nbsp;a&nbsp;user&nbsp;id.<br>
238 If&nbsp;the&nbsp;tag&nbsp;type&nbsp;if&nbsp;ACL_GROUP,&nbsp;this&nbsp;should&nbsp;be&nbsp;a&nbsp;group&nbsp;id.<br>
239 Else,&nbsp;it&nbsp;doesn't&nbsp;matter.</tt></dl>
240
241 <dl><dt><strong>tag_type</strong> = &lt;attribute 'tag_type' of 'posix1e.Entry' objects&gt;<dd><tt>The&nbsp;tag&nbsp;type&nbsp;of&nbsp;the&nbsp;current&nbsp;entry<br>
242 &nbsp;<br>
243 This&nbsp;is&nbsp;one&nbsp;of:<br>
244 &nbsp;-&nbsp;ACL_UNDEFINED_TAG<br>
245 &nbsp;-&nbsp;ACL_USER_OBJ<br>
246 &nbsp;-&nbsp;ACL_USER<br>
247 &nbsp;-&nbsp;ACL_GROUP_OBJ<br>
248 &nbsp;-&nbsp;ACL_GROUP<br>
249 &nbsp;-&nbsp;ACL_MASK<br>
250 &nbsp;-&nbsp;ACL_OTHER</tt></dl>
251
252 <hr>
253 Methods inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
254 <dl><dt><a name="Entry-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
255
256 <dl><dt><a name="Entry-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
257
258 <dl><dt><a name="Entry-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
259
260 <dl><dt><a name="Entry-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>helper&nbsp;for&nbsp;pickle</tt></dd></dl>
261
262 <dl><dt><a name="Entry-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
263
264 <dl><dt><a name="Entry-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Entry-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
265
266 <hr>
267 Data and non-method functions inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
268 <dl><dt><strong>__class__</strong> = &lt;type 'type'&gt;<dd><tt>the&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;class</tt></dl>
269
270 </td></tr></table> 
271 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
272 <tr bgcolor="#ffc8d8">
273 <td colspan=3 valign=bottom>&nbsp;<br>
274 <font color="#000000" face="helvetica, arial"><a name="Permset">class <strong>Permset</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
275     
276 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
277 <td colspan=2><tt>Type&nbsp;which&nbsp;represents&nbsp;the&nbsp;permission&nbsp;set&nbsp;in&nbsp;an&nbsp;<a href="#ACL">ACL</a>&nbsp;entry<br>
278 &nbsp;<br>
279 The&nbsp;type&nbsp;exists&nbsp;only&nbsp;if&nbsp;the&nbsp;OS&nbsp;has&nbsp;full&nbsp;support&nbsp;for&nbsp;POSIX.1e<br>
280 Can&nbsp;be&nbsp;created&nbsp;either&nbsp;by:<br>
281 &nbsp;&nbsp;perms&nbsp;=&nbsp;myEntry.permset<br>
282 or&nbsp;by:<br>
283 &nbsp;&nbsp;perms&nbsp;=&nbsp;posix1e.<a href="#Permset">Permset</a>(myEntry)<br>
284 &nbsp;<br>
285 Note&nbsp;that&nbsp;the&nbsp;<a href="#Permset">Permset</a>&nbsp;keeps&nbsp;a&nbsp;reference&nbsp;to&nbsp;its&nbsp;<a href="#Entry">Entry</a>,&nbsp;so&nbsp;even&nbsp;if&nbsp;<br>
286 you&nbsp;delete&nbsp;the&nbsp;entry,&nbsp;it&nbsp;won't&nbsp;be&nbsp;cleaned&nbsp;up&nbsp;and&nbsp;will&nbsp;continue&nbsp;to&nbsp;<br>
287 exist&nbsp;until&nbsp;its&nbsp;<a href="#Permset">Permset</a>&nbsp;will&nbsp;be&nbsp;deleted.<br>&nbsp;</tt></td></tr>
288 <tr><td>&nbsp;&nbsp;</td>
289 <td width="100%">Methods defined here:<br>
290 <dl><dt><a name="Permset-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
291
292 <dl><dt><a name="Permset-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
293
294 <dl><dt><a name="Permset-add"><strong>add</strong></a>(...)</dt><dd><tt>Add&nbsp;a&nbsp;permission&nbsp;to&nbsp;the&nbsp;permission&nbsp;set.<br>
295 &nbsp;<br>
296 The&nbsp;<a href="#Permset-add">add</a>()&nbsp;function&nbsp;adds&nbsp;the&nbsp;permission&nbsp;contained&nbsp;in&nbsp;<br>
297 the&nbsp;argument&nbsp;perm&nbsp;to&nbsp;the&nbsp;permission&nbsp;set.&nbsp;&nbsp;An&nbsp;attempt&nbsp;<br>
298 to&nbsp;add&nbsp;a&nbsp;permission&nbsp;that&nbsp;is&nbsp;already&nbsp;contained&nbsp;in&nbsp;the&nbsp;<br>
299 permission&nbsp;set&nbsp;is&nbsp;not&nbsp;considered&nbsp;an&nbsp;error.<br>
300 Parameters:<br>
301 &nbsp;&nbsp;-&nbsp;perm&nbsp;a&nbsp;permission&nbsp;(ACL_WRITE,&nbsp;ACL_READ,&nbsp;ACL_EXECUTE,&nbsp;...<br>
302 Return&nbsp;value:<br>
303 &nbsp;&nbsp;None<br>
304 Can&nbsp;raise:&nbsp;IOError</tt></dd></dl>
305
306 <dl><dt><a name="Permset-clear"><strong>clear</strong></a>(...)</dt><dd><tt>Clear&nbsp;all&nbsp;permissions&nbsp;from&nbsp;the&nbsp;permission&nbsp;set.</tt></dd></dl>
307
308 <dl><dt><a name="Permset-delete"><strong>delete</strong></a>(...)</dt><dd><tt>Delete&nbsp;a&nbsp;permission&nbsp;from&nbsp;the&nbsp;permission&nbsp;set.<br>
309 &nbsp;<br>
310 The&nbsp;<a href="#Permset-delete">delete</a>()&nbsp;function&nbsp;deletes&nbsp;the&nbsp;permission&nbsp;contained&nbsp;in&nbsp;<br>
311 the&nbsp;argument&nbsp;perm&nbsp;from&nbsp;the&nbsp;permission&nbsp;set.&nbsp;&nbsp;An&nbsp;attempt&nbsp;<br>
312 to&nbsp;delete&nbsp;a&nbsp;permission&nbsp;that&nbsp;is&nbsp;not&nbsp;contained&nbsp;in&nbsp;the&nbsp;<br>
313 permission&nbsp;set&nbsp;is&nbsp;not&nbsp;considered&nbsp;an&nbsp;error.<br>
314 Parameters:<br>
315 &nbsp;&nbsp;-&nbsp;perm&nbsp;a&nbsp;permission&nbsp;(ACL_WRITE,&nbsp;ACL_READ,&nbsp;ACL_EXECUTE,&nbsp;...<br>
316 Return&nbsp;value:<br>
317 &nbsp;&nbsp;None<br>
318 Can&nbsp;raise:&nbsp;IOError</tt></dd></dl>
319
320 <dl><dt><a name="Permset-test"><strong>test</strong></a>(...)</dt><dd><tt>Test&nbsp;if&nbsp;a&nbsp;permission&nbsp;exists&nbsp;in&nbsp;the&nbsp;permission&nbsp;set.<br>
321 &nbsp;<br>
322 The&nbsp;<a href="#Permset-test">test</a>()&nbsp;function&nbsp;tests&nbsp;if&nbsp;the&nbsp;permission&nbsp;contained&nbsp;in&nbsp;<br>
323 the&nbsp;argument&nbsp;perm&nbsp;exits&nbsp;the&nbsp;permission&nbsp;set.<br>
324 Parameters:<br>
325 &nbsp;&nbsp;-&nbsp;perm&nbsp;a&nbsp;permission&nbsp;(ACL_WRITE,&nbsp;ACL_READ,&nbsp;ACL_EXECUTE,&nbsp;...<br>
326 Return&nbsp;value:<br>
327 &nbsp;&nbsp;Bool<br>
328 Can&nbsp;raise:&nbsp;IOError</tt></dd></dl>
329
330 <hr>
331 Data and non-method functions defined here:<br>
332 <dl><dt><strong>__doc__</strong> = 'Type which represents the permission set in an A...nue to <font color="#c040c0">\n</font>exist until its Permset will be deleted.<font color="#c040c0">\n</font>'<dd><tt>str(<a href="__builtin__.html#object">object</a>)&nbsp;-&gt;&nbsp;string<br>
333 &nbsp;<br>
334 Return&nbsp;a&nbsp;nice&nbsp;string&nbsp;representation&nbsp;of&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>.<br>
335 If&nbsp;the&nbsp;argument&nbsp;is&nbsp;a&nbsp;string,&nbsp;the&nbsp;return&nbsp;value&nbsp;is&nbsp;the&nbsp;same&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dl>
336
337 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Permset-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
338
339 <dl><dt><strong>execute</strong> = &lt;attribute 'execute' of 'posix1e.Permset' objects&gt;<dd><tt>Execute&nbsp;permsission<br>
340 &nbsp;<br>
341 This&nbsp;is&nbsp;a&nbsp;convenience&nbsp;method&nbsp;of&nbsp;access;&nbsp;the&nbsp;<br>
342 same&nbsp;effect&nbsp;can&nbsp;be&nbsp;achieved&nbsp;using&nbsp;the&nbsp;functions<br>
343 <a href="#Permset-add">add</a>(),&nbsp;<a href="#Permset-test">test</a>(),&nbsp;<a href="#Permset-delete">delete</a>(),&nbsp;and&nbsp;those&nbsp;can&nbsp;take&nbsp;any&nbsp;<br>
344 permission&nbsp;defined&nbsp;by&nbsp;your&nbsp;platform.</tt></dl>
345
346 <dl><dt><strong>read</strong> = &lt;attribute 'read' of 'posix1e.Permset' objects&gt;<dd><tt>Read&nbsp;permsission<br>
347 &nbsp;<br>
348 This&nbsp;is&nbsp;a&nbsp;convenience&nbsp;method&nbsp;of&nbsp;access;&nbsp;the&nbsp;<br>
349 same&nbsp;effect&nbsp;can&nbsp;be&nbsp;achieved&nbsp;using&nbsp;the&nbsp;functions<br>
350 <a href="#Permset-add">add</a>(),&nbsp;<a href="#Permset-test">test</a>(),&nbsp;<a href="#Permset-delete">delete</a>(),&nbsp;and&nbsp;those&nbsp;can&nbsp;take&nbsp;any&nbsp;<br>
351 permission&nbsp;defined&nbsp;by&nbsp;your&nbsp;platform.</tt></dl>
352
353 <dl><dt><strong>write</strong> = &lt;attribute 'write' of 'posix1e.Permset' objects&gt;<dd><tt>Write&nbsp;permsission<br>
354 &nbsp;<br>
355 This&nbsp;is&nbsp;a&nbsp;convenience&nbsp;method&nbsp;of&nbsp;access;&nbsp;the&nbsp;<br>
356 same&nbsp;effect&nbsp;can&nbsp;be&nbsp;achieved&nbsp;using&nbsp;the&nbsp;functions<br>
357 <a href="#Permset-add">add</a>(),&nbsp;<a href="#Permset-test">test</a>(),&nbsp;<a href="#Permset-delete">delete</a>(),&nbsp;and&nbsp;those&nbsp;can&nbsp;take&nbsp;any&nbsp;<br>
358 permission&nbsp;defined&nbsp;by&nbsp;your&nbsp;platform.</tt></dl>
359
360 <hr>
361 Methods inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
362 <dl><dt><a name="Permset-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
363
364 <dl><dt><a name="Permset-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
365
366 <dl><dt><a name="Permset-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
367
368 <dl><dt><a name="Permset-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>helper&nbsp;for&nbsp;pickle</tt></dd></dl>
369
370 <dl><dt><a name="Permset-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
371
372 <dl><dt><a name="Permset-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Permset-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
373
374 <hr>
375 Data and non-method functions inherited from <a href="__builtin__.html#object">__builtin__.object</a>:<br>
376 <dl><dt><strong>__class__</strong> = &lt;type 'type'&gt;<dd><tt>the&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;class</tt></dl>
377
378 </td></tr></table></td></tr></table>
379 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
380 <tr bgcolor="#eeaa77">
381 <td colspan=3 valign=bottom>&nbsp;<br>
382 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
383     
384 <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;&nbsp;</td>
385 <td width="100%"><dl><dt><a name="-delete_default"><strong>delete_default</strong></a>(...)</dt><dd><tt>Delete&nbsp;the&nbsp;default&nbsp;<a href="#ACL">ACL</a>&nbsp;from&nbsp;a&nbsp;directory.<br>
386 &nbsp;<br>
387 This&nbsp;function&nbsp;deletes&nbsp;the&nbsp;default&nbsp;<a href="#ACL">ACL</a>&nbsp;associated&nbsp;with&nbsp;<br>
388 a&nbsp;directory&nbsp;(the&nbsp;<a href="#ACL">ACL</a>&nbsp;which&nbsp;will&nbsp;be&nbsp;ANDed&nbsp;with&nbsp;the&nbsp;mode<br>
389 parameter&nbsp;to&nbsp;the&nbsp;open,&nbsp;creat&nbsp;functions).<br>
390 Parameters:<br>
391 &nbsp;&nbsp;-&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;directory&nbsp;whose&nbsp;default&nbsp;<a href="#ACL">ACL</a><br>
392 &nbsp;&nbsp;&nbsp;&nbsp;should&nbsp;be&nbsp;deleted</tt></dd></dl>
393 </td></tr></table>
394 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
395 <tr bgcolor="#55aa55">
396 <td colspan=3 valign=bottom>&nbsp;<br>
397 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
398     
399 <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;&nbsp;</td>
400 <td width="100%"><strong>ACL_EXECUTE</strong> = 1<br>
401 <strong>ACL_GROUP</strong> = 8<br>
402 <strong>ACL_GROUP_OBJ</strong> = 4<br>
403 <strong>ACL_MASK</strong> = 16<br>
404 <strong>ACL_OTHER</strong> = 32<br>
405 <strong>ACL_READ</strong> = 4<br>
406 <strong>ACL_TYPE_ACCESS</strong> = 32768<br>
407 <strong>ACL_TYPE_DEFAULT</strong> = 16384<br>
408 <strong>ACL_UNDEFINED_TAG</strong> = 0<br>
409 <strong>ACL_USER</strong> = 2<br>
410 <strong>ACL_USER_OBJ</strong> = 1<br>
411 <strong>ACL_WRITE</strong> = 2<br>
412 <strong>__file__</strong> = '/home/iusty/work/pylibacl/build/lib.linux-i686-2.2/posix1e.so'<br>
413 <strong>__name__</strong> = 'posix1e'</td></tr></table>
414 </body></html>