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)
commit7e08337e078efd9ecf09b69bfbb093c50487d528
tree4cdadcfba09a1edef0b750083af5c1f0ba8ba72c
parent209a8714866365fc4292b0da2ae3d4e8b68bb3b9
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