Hi,<br><br>I tried to use the os.lchmod() function documented here:<br><a href="http://docs.python.org/library/os.html#os.lchmod">http://docs.python.org/library/os.html#os.lchmod</a><br><br>However, it doesn&#39;t exist in my version of Python:<br>
<br>wout@zoot ~ 549&gt;python<br>Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) <br>[GCC 4.4.5] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt; import os<br>&gt;&gt;&gt; os.lchmod(&#39;blabla&#39;, 0)<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>AttributeError: &#39;module&#39; object has no attribute &#39;lchmod&#39;<br>
&gt;&gt;&gt; <br><br>So either the documentation is wrong or my version of Python is bad (in which case I have contact the distributor - Debian). But since the system chmod manual page says that permissions on symbolic links cannot be changed, I figured the function should probably not exist.<br>
<br>Best regards,<br>Wout<br><br>