We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aae629 commit 6e741bcCopy full SHA for 6e741bc
src/common/prometheus/multiprocessing.py
@@ -30,4 +30,7 @@ def prepare_prom_multiproc_dir() -> None:
30
# While `mkdir` sets mode=0o777 by default, this can be affected by umask resulting in
31
# lesser permissions for other users. This step ensures the directory is writable for
32
# all users.
33
- prom_dir.chmod(0o777)
+ try:
34
+ prom_dir.chmod(0o777)
35
+ except PermissionError:
36
+ pass
0 commit comments