summaryrefslogtreecommitdiffstats
path: root/dcae-services-policy-sync
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2021-04-22 17:52:59 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2021-04-22 19:19:15 +0000
commit76847c3d08643be351bbb0e1dfa7d9b2951e02de (patch)
treecd19d4ea56ff51d90409742f4035977b47ff86ce /dcae-services-policy-sync
parent40511bdccfd7a913ccd9628f2a8a950f0a47288b (diff)
Fix output file permission1.0.1-policy-sync
Change-Id: Iaa4cd79bd3a02d179544606c2029ffc3fd17cf4a Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2739 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'dcae-services-policy-sync')
-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):
"""