summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dcae-services-policy-sync/policysync/inventory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dcae-services-policy-sync/policysync/inventory.py b/dcae-services-policy-sync/policysync/inventory.py
index 0eb91b5..678f153 100644
--- a/dcae-services-policy-sync/policysync/inventory.py
+++ b/dcae-services-policy-sync/policysync/inventory.py
@@ -80,6 +80,7 @@ class Inventory:
temp_file.close()
os.rename(temp_file.name, os.path.abspath(self.file))
+ os.chmod(os.path.abspath(self.file), 0o644)
async def get_policy_content(self, action=ACTION_UPDATED):
"""