From 3a4bfbcc7c248f2ac0405df94dbc7f21d4f9520b Mon Sep 17 00:00:00 2001 From: emrekgn Date: Fri, 29 Jul 2016 19:07:17 +0300 Subject: [PATCH] create received_dir_path with correct permissions --- opt/ahenk/base/system/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opt/ahenk/base/system/system.py b/opt/ahenk/base/system/system.py index 405d671..871df41 100644 --- a/opt/ahenk/base/system/system.py +++ b/opt/ahenk/base/system/system.py @@ -126,8 +126,8 @@ class System: def received_dir_path(): path = '/tmp/.ahenk/' if Util.is_exist(path) is False: - # TODO write permission add Util.create_directory(path) + Util.set_permission(path, '777') return path class Process(object):