Faik Uygur wrote: > Is there a python way of getting the current umask without changing it? > os.umask changes it, and i dont want to use os.system("umask") just call os.umask twice: current_mask = os.umask(0) os.umask(current_mask) </F>