Fix mode when creating FireHOL ipset directory

This commit is contained in:
srilumpa 2017-12-15 17:15:43 +01:00
parent 105fea2bda
commit 290b2ee8bf

View File

@ -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