make sure .filter are 0600
This commit is contained in:
@@ -103,6 +103,9 @@ def get_filterfile(user):
|
|||||||
with open(filepath, "w", encoding="utf-8") as filterfile:
|
with open(filepath, "w", encoding="utf-8") as filterfile:
|
||||||
filterfile.write(filterconfig)
|
filterfile.write(filterconfig)
|
||||||
|
|
||||||
|
# Change permissions to 0600
|
||||||
|
os.chmod(filepath, 0o600)
|
||||||
|
|
||||||
return filepath
|
return filepath
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user