Umask, permissions in newly created files

Published: Wednesday, Dec 26, 2007 Last modified: Wednesday, Feb 24, 2021

Umask is a god send on my very precautionary setup of my University:

import os

os.umask(022) # created files are readable by all