[issue46226] User specific paths added to System PATH environment variable

2022-01-10 Thread Steve Dower


Steve Dower  added the comment:

Without logs or the ability to reproduce it, there's not much we can do. I ran 
the install and it put the variables in the right place, so it's not happening 
all the time.

The install logs are usually detailed enough to see why decisions like this are 
made, but it'll almost certainly be because of something specific to your 
machine. If running the install again produces the same result, those logs will 
be helpful as well. I don't see us being able to make any product changes for 
this though.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-10 Thread Aleksandr Krymskiy


Aleksandr Krymskiy  added the comment:

I installed 3.10, and then removed 3.9 that I had installed previously. Python 
is installed in "C:\Program Files\Python310". The only thing that exists under 
%LocalAppData% is an empty directory 
"C:\Users\avk\AppData\Local\Programs\Python\Python310\Scripts" - I always 
install "for all users" so there isn't anything else under the 
"C:\Users\avk\AppData\Local\Programs\Python" other than the empty directory I 
mentioned.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-07 Thread Eryk Sun


Eryk Sun  added the comment:

Were you upgrading an existing installation of Python 3.10? Did it actually 
install in "C:\Program Files\Python310"? Is Python currently installed in 
per-user "%LocalAppData%\Programs\Python\Python310"? Was it ever installed 
there?

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-07 Thread Aleksandr Krymskiy


Aleksandr Krymskiy  added the comment:

I did not find install logs in my user %TEMP% or C:\Windows\Temp. I did select 
"install for all users" during setup just like I always do, but I did not 
override the default location of "C:\Program Files\Python310". I attached 
screenshots of the options selected during setup.

--
Added file: https://bugs.python.org/file50549/py_install_options.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-03 Thread Steve Dower


Steve Dower  added the comment:

If you have them, can you share your install logs (look in %TEMP% for files 
starting with "Python"). If not, please share your install options.

By default, this works fine. You have to make some specific modifications to 
the install options to do what you've done, such as choosing to install for all 
users and then overriding the install path to a per-user location. If you're 
installing just for yourself, the installer shouldn't even have the permissions 
required to modify system-wide environment variables.

It's also possible that your machine has a special configuration to do this, in 
which case you'll need to speak with your administrator to find out why. We 
can't help with that - we just use standard MSIs and let the OS choose where 
things go.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-02 Thread Ned Deily


Change by Ned Deily :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-02 Thread Aleksandr Krymskiy


New submission from Aleksandr Krymskiy :

Installed Python 3.10.1 using Windows 64-bit installer from python.org. Upon 
examining the PATH environment variables I noticed that my local user paths 
(C:\Users\avk\AppData\...) have been added to the System-level PATH variable 
instead of User level, which can cause problems on multi-user systems, since 
users other than mine will now have these paths in their environment causing 
them to potentially try to execute code from unexpected location that they 
should not even have access too. User paths should be added to User specific 
PATH environment variable and only global (C:\Program Files\Python310\...) kept 
in the System scope by the installer. Please see my screenshot - the 
highlighted should be moved to User scoped PATH var.

--
components: Installation
files: py_paths.png
messages: 409507
nosy: akrymskiy
priority: normal
severity: normal
status: open
title: User specific paths added to System PATH environment variable
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file50535/py_paths.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com