Be more strict about file permission masks
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 23 Mar 2015 07:05:55 +0000 (07:05 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 23 Mar 2015 07:05:55 +0000 (07:05 +0000)
commit19558d35ce08fb9df044b3c9569eb66e7b3e6f9e
tree4cdadcfba09a1edef0b750083af5c1f0ba8ba72c
parentb30249dada13540bf31fcd8b442efa3802717626
Be more strict about file permission masks

Set a reasonably strict umask  of 0022 when creating most files and
directories. Also set the umask to 0077 for private files to avoid a
brief race where someone could open them for reading after creation
but prior to the prophylactic chmod to 0600.
lib/mudpy/data.py