Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--user-access-control=auto has no effect #53117

Closed
techtonik mannequin opened this issue Jun 1, 2010 · 2 comments
Closed

--user-access-control=auto has no effect #53117

techtonik mannequin opened this issue Jun 1, 2010 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@techtonik
Copy link
Mannequin

techtonik mannequin commented Jun 1, 2010

BPO 8871
Nosy @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2011-01-09.17:16:04.745>
created_at = <Date 2010-06-01.19:22:08.521>
labels = ['library', 'type-crash']
title = '--user-access-control=auto has no effect'
updated_at = <Date 2011-01-09.17:16:18.505>
user = 'https://bugs.python.org/techtonik'

bugs.python.org fields:

activity = <Date 2011-01-09.17:16:18.505>
actor = 'techtonik'
assignee = 'tarek'
closed = True
closed_date = <Date 2011-01-09.17:16:04.745>
closer = 'techtonik'
components = ['Distutils']
creation = <Date 2010-06-01.19:22:08.521>
creator = 'techtonik'
dependencies = []
files = []
hgrepos = []
issue_num = 8871
keywords = []
message_count = 2.0
messages = ['106853', '107151']
nosy_count = 2.0
nosy_names = ['techtonik', 'tarek']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue8871'
versions = ['Python 2.6', 'Python 2.7']

@techtonik
Copy link
Mannequin Author

techtonik mannequin commented Jun 1, 2010

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

@techtonik techtonik mannequin assigned tarekziade Jun 1, 2010
@techtonik techtonik mannequin added stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump labels Jun 1, 2010
@techtonik
Copy link
Mannequin Author

techtonik mannequin commented Jun 5, 2010

Can't repeat right now. Please close with bpo-8870 as a superseder if nothing happens in the next two weeks.

@techtonik techtonik mannequin added the invalid label Jan 9, 2011
@techtonik techtonik mannequin closed this as completed Jan 9, 2011
@techtonik techtonik mannequin removed the invalid label Jan 9, 2011
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

0 participants