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(): def received_dir_path():
path = '/tmp/.ahenk/' path = '/tmp/.ahenk/'
if Util.is_exist(path) is False: if Util.is_exist(path) is False:
# TODO write permission add
Util.create_directory(path) Util.create_directory(path)
Util.set_permission(path, '777')
return path return path
class Process(object): class Process(object):