Python creates "locked" temp dir
Alex Willmer
alex at moreati.org.uk
Fri Dec 10 14:57:56 EST 2010
On Dec 8, 6:26 pm, Christian Heimes <li... at cheimes.de> wrote:
> There isn't a way to limit access to a single process. mkdtemp creates
> the directory with mode 0700 and thus limits it to the (effective) user
> of the current process. Any process of the same user is able to access
> the directory.
>
> Christian
Quite right. My apologies for confusing temporary file creation, for
which exclusive access is used and temporary directory creation for
which there is no such mode.
More information about the Python-list
mailing list