This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: --user-access-control=auto has no effect
Type: crash Stage:
Components: Distutils Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: tarek Nosy List: tarek, techtonik
Priority: normal Keywords:

Created on 2010-06-01 19:22 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg106853 - (view) Author: anatoly techtonik (techtonik) Date: 2010-06-01 19:22
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
msg107151 - (view) Author: anatoly techtonik (techtonik) Date: 2010-06-05 16:58
Can't repeat right now. Please close with issue8870 as a superseder if nothing happens in the next two weeks.
History
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 53117
2011-01-09 17:16:18techtoniksetnosy: techtonik, tarek
resolution: not a bug -> out of date
2011-01-09 17:16:04techtoniksetstatus: open -> closed
nosy: techtonik, tarek
resolution: not a bug
2010-06-05 16:58:22techtoniksetmessages: + msg107151
2010-06-01 19:22:08techtonikcreate