diff --git a/headphones/__init__.py b/headphones/__init__.py index 4b36acf7a..448dc092a 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -225,7 +225,7 @@ def daemonize(): # Make sure I can read my own files and shut out others prev = os.umask(0) # @UndefinedVariable - only available in UNIX - os.umask(prev and int('077', 8)) + os.umask(prev and int('007', 8)) # Make the child a session-leader by detaching from the terminal try: