mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-06 09:05:19 +00:00
Fix mode when creating FireHOL ipset directory
This commit is contained in:
parent
105fea2bda
commit
290b2ee8bf
@ -27,7 +27,7 @@ class FireholBlocklistsAnalyzer(Analyzer):
|
||||
|
||||
# Check if directory exists
|
||||
if not os.path.exists(self.path):
|
||||
os.mkdir(self.path, 0700)
|
||||
os.mkdir(self.path, 0o700)
|
||||
# Downloading/updating the list is implemented with an external cronjob which git pulls the repo
|
||||
|
||||
# Read files in the given path and prepare file lists for ip- and netsets
|
||||
|
Loading…
Reference in New Issue
Block a user