[New-bugs-announce] [issue8871] --user-access-control=auto has no effect

anatoly techtonik report at bugs.python.org
Tue Jun 1 21:22:19 CEST 2010


New submission from anatoly techtonik <techtonik at gmail.com>:

Seems like `--user-access-control=auto` option [1] introduced in Python 2.6 for to bdist_wininst has no effect on Vista. 

Test.
1. Get a Vista.
2. `hg clone http://bitbucket.org/techtonik/python-wget/`
3. Add
{{{
    scripts=['wget.py'],
}}}
to setup.py
4. `python setup.py bdist_wininst --user-access-control=auto`
5. Execute wget-0.6.win32.exe
6. Watch the error
{{{
Access is denied.
CreateFile (C:\Python27\Scripts\wget.py)
}}}
7. Python is always installed for "All users" on Vista

[1] http://docs.python.org/distutils/builtdist.html#vista-user-access-control-uac

----------
assignee: tarek
components: Distutils
messages: 106853
nosy: tarek, techtonik
priority: normal
severity: normal
status: open
title: --user-access-control=auto has no effect
type: crash
versions: Python 2.6, Python 2.7

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


More information about the New-bugs-announce mailing list