[issue7479] os.lchmod is not present

steve report at bugs.python.org
Fri Dec 11 13:33:41 CET 2009


New submission from steve <eyebootleg at gmail.com>:

Reason for opening this bug:
============================
I am opening a bug because the documentation here:
http://docs.python.org/library/os.html#os.lchmod

Says that in python 2.6 there is a method os.lchmod() for changing the
permissions of unix symbolic links,  

I am running Python 2.6 on several flavors of Linux, and non of them
have os.lchmod().  My understanding is that one can not change the
permissions of a sybolic link on Linux because the symlink basically
'inherits' the permissions of the file if points to.

Is this ment to be used on other flavors of UNIX other than Linux?

I am only really familiar with Linux, and have not played with man y
other flavors on UNIX.  Can other flavor change the permission of
symbolic links?


What I am Looking for from this bug report:
===========================================
I would like to know what is happening with os.lchmod.  If it is not
suppose to be there, I would like it removed from the documentation.  If
it is mena for other flavors of unix, but not linux.  I think it should
be implemented as just a function that passes.

Let me know what you think.

Peace,
Steve

----------
assignee: georg.brandl
components: Documentation
messages: 96249
nosy: bluegeek, georg.brandl
severity: normal
status: open
title: os.lchmod is not present
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7479>
_______________________________________


More information about the Python-bugs-list mailing list