[Distutils] Windows 8 pkg_resources permissions bug

Steve Dower Steve.Dower at microsoft.com
Tue May 6 03:06:31 CEST 2014


My guess would be that something is setting permissions for the current user, and these installs were done by an admin user who is not the current user. This will result in explicit permissions on the file that may deny read access.

I'll have to confirm tomorrow. Do you have the exact versions of setuptools and pip that are problematic? (My guess is that it won't matter. The code has probably been in there for a while if I'm right.)

Cheers,
Steve

To-posted from my Windows Phone
________________________________
From: Ian Cordasco<mailto:graffatcolmingov at gmail.com>
Sent: ‎5/‎5/‎2014 17:27
To: Distutils list<mailto:distutils-sig at python.org>
Subject: [Distutils] Windows 8 pkg_resources permissions bug

Hey all,

I searched the issues on the setuptools repository but I couldn't find
any that seemed relevant to what a user of Flake8 has run into:
https://bitbucket.org/tarek/flake8/issue/142/installation-on-windows-8-permissions

It seems that installing something that relies on pkg_resources to
load plugins will cause errors on Windows 8. Does anyone have any
insight? Is this actually a bug? Are we just using pkg_resources
incorrectly?

Thanks in advance,
Ian
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG at python.org
https://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140506/621c91b6/attachment.html>


More information about the Distutils-SIG mailing list