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't exist in my version of Python:<br>
<br>wout@zoot ~ 549>python<br>Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) <br>[GCC 4.4.5] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import os<br>>>> os.lchmod('blabla', 0)<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>AttributeError: 'module' object has no attribute 'lchmod'<br>
>>> <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>