summaryrefslogtreecommitdiffstats
path: root/test/functional/util/dummy_p0f.py
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-11-13 16:19:06 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-11-13 16:40:35 +0200
commit65c3e586d5e3228e778f9587033d987d43e0374a (patch)
treef28baaf39dc2ee5a579f648a52975fb814dd3243 /test/functional/util/dummy_p0f.py
parentb6612604aa2b06ef7b12c2aaf24a4175dcea67e5 (diff)
downloadrspamd-65c3e586d5e3228e778f9587033d987d43e0374a.tar.gz
rspamd-65c3e586d5e3228e778f9587033d987d43e0374a.zip
[Test] Set umask where it's useful
Diffstat (limited to 'test/functional/util/dummy_p0f.py')
-rwxr-xr-xtest/functional/util/dummy_p0f.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/util/dummy_p0f.py b/test/functional/util/dummy_p0f.py
index 2bcd183d4..1d86ba0ca 100755
--- a/test/functional/util/dummy_p0f.py
+++ b/test/functional/util/dummy_p0f.py
@@ -66,6 +66,8 @@ if __name__ == "__main__":
p0f_status = 'ok'
p0f_os = 'linux'
+ os.umask(0000)
+
alen = len(sys.argv)
if alen > 1:
SOCK = sys.argv[1]