create received_dir_path with correct permissions

This commit is contained in:
emrekgn 2016-07-29 19:07:17 +03:00
parent bf0f01c02f
commit 3a4bfbcc7c

View file

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