getting umask without changing it

Fredrik Lundh fredrik at pythonware.com
Fri Jun 16 12:41:25 CEST 2006


Faik Uygur wrote:
> This is not atomic. At this point i changed all the running python threads'
> umask and i don't want to change current umask. I just want to get it.

afaik, there's no atomic API for this.  just a unified get/set function:

    http://www.opengroup.org/pubs/online/7908799/xsh/umask.html

</F> 






More information about the Python-list mailing list