1diff --git a/tests/unittests/cmd/devel/test_logs.py b/tests/unittests/cmd/devel/test_logs.py
2index 78466e8d0..cc2b7246d 100644
3--- a/tests/unittests/cmd/devel/test_logs.py
4+++ b/tests/unittests/cmd/devel/test_logs.py
5@@ -179,7 +179,7 @@ class TestCollectLogs:
6
7 for to_write in to_collect:
8 write_file(
9- tmp_path / to_write, pathlib.Path(to_write).name, mode=0x700
10+ tmp_path / to_write, pathlib.Path(to_write).name
11 )
12
13 collect_dir = tmp_path / "collect"
14@@ -225,7 +225,7 @@ class TestCollectLogs:
15
16 for to_write in to_collect:
17 write_file(
18- tmp_path / to_write, pathlib.Path(to_write).name, mode=0x700
19+ tmp_path / to_write, pathlib.Path(to_write).name
20 )
21
22 collect_dir = tmp_path / "collect"