Skip to content

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

Closed

Description

@techtonik
mannequin
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']

Activity

  1. techtonik commented on Jun 1, 2010

    techtonikmannequin
    MannequinAuthor

    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

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    type-crashA hard crash of the interpreter, possibly with a core dump
    on Jun 1, 2010
  3. techtonik commented on Jun 5, 2010

    techtonikmannequin
    MannequinAuthor

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

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions