From 7edf039f5b0ab8471a7761ec6fc0aeafad4e1f7d Mon Sep 17 00:00:00 2001 From: mdosch Date: Thu, 11 Feb 2016 12:43:45 +0100 Subject: [PATCH] Update cdparanoia.py Fixed calculation of file permissions (wrong calculation from umask). --- morituri/program/cdparanoia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morituri/program/cdparanoia.py b/morituri/program/cdparanoia.py index 46176d54..86913a6e 100644 --- a/morituri/program/cdparanoia.py +++ b/morituri/program/cdparanoia.py @@ -486,7 +486,7 @@ def __init__(self, path, table, start, stop, offset=0, device=None, umask = os.umask(0) os.umask(umask) - self.file_mode = 0666 - umask + self.file_mode = 0666 & ~ umask def stop(self): # FIXME: maybe this kind of try-wrapping to make sure