[issue2232] Current os.tmpfile() implementation requires admin privs on Vista/2k8.
report at bugs.python.org
Tue Mar 4 18:01:21 CET 2008
New submission from Trent Nelson:
posix_tmpfile() needs to be reworked such that tmpfile() isn't used if
MS_WINDOWS is defined, as it requires administrative privileges to run
(it creates the file in the root directory) on Vista/2k8 (although
there are reports of this not working on XP w/ 2.5:
The recommended approach in MSDN is to use, quote, "tmpname or tempnam
in conjunction with fopen": http://msdn2.microsoft.com/en-
Assuming no one beats me to it, I'll look at creating a patch in the
next day or two when I get some spare time.
title: Current os.tmpfile() implementation requires admin privs on Vista/2k8.
versions: Python 2.6
Tracker <report at bugs.python.org>
More information about the Python-bugs-list