Retrieve Default ACL in Python Using Posix 1e
<p>Using the <a href="http://pylibacl.k1024.org/module.html" rel="nofollow">posix 1e Python module</a> I am able to get/set the ACL for a file without having to spawn a subprocess and call <code>getfacl</code>/<code>setfacl</code>:</p>

<pre><code>&gt;&gt;&gt; import posix1e
&gt;&gt;&gt; acl1 = posix1e.ACL(file="file.txt") 
&gt;&gt;&gt; print acl1
user::rw-
group::rw-
other::r--
</code></pre>

<p>I can also <em>apply</em> a default ACL and <em>delete</em> it:</p>

<pre><code>path = '/some/other/path/'
acl1.applyto(path, posix1e.ACL_TYPE_DEFAULT)
posix1e.delete_default(path)
</code></pre>

<p>However, <strong>I can not seem to work out how to <em>retrieve</em> the default ACL</strong>!  Does anyone know how this can be done using the posix 1e module?</p>