Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82902

Re: missing os.lchmod, os.lchflags

Date 2014-12-24 14:22 -0600
From Tim Chase <python.list@tim.thechases.com>
Subject Re: missing os.lchmod, os.lchflags
References <549B1742.4010003@stoneleaf.us>
Newsgroups comp.lang.python
Message-ID <mailman.17190.1419452435.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2014-12-24 11:42, Ethan Furman wrote:
> According to the docs [1] these functions should be available as of
> 2.6, yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu
> 12.10 and 14.04)

Confirming the same absence of os.lchmod and os.lchflags in 2.7 and
3.2 on Debian Stable.

tim@laptop:~$ python
Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> [s for s in dir(os) if s.startswith('lch')]
['lchown']

tim@laptop:~$ python3
Python 3.2.3 (default, Feb 20 2013, 14:44:27) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> [s for s in dir(os) if s.startswith('lch')]
['lchown']

-tkc


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: missing os.lchmod, os.lchflags Tim Chase <python.list@tim.thechases.com> - 2014-12-24 14:22 -0600

csiph-web