Am 08.12.2010 10:31, schrieb Alex Willmer: > 2. When you say "I am unable to access". Do you mean another script/ > process is unable to access? If so, that is the point of mkdtemp() - > to make a temporary directory that _only_ the creating process can > access. If you want to share it then tempfile is not the right module > for you.
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 -- http://mail.python.org/mailman/listinfo/python-list