Fix umask call.

This commit is contained in:
Solderpunk 2020-05-23 13:24:39 +02:00
parent c48c85b5e1
commit 2c7e6502f8
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class GeminiClient(cmd.Cmd):
# Set umask so that nothing we create can be read by anybody else.
# The certificate cache and TOFU database contain "browser history"
# type sensitivie information.
os.umask(077)
os.umask(0o077)
# Find config directory
## Look for something pre-existing