mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 22:52:24 +03:00
create received_dir_path with correct permissions
This commit is contained in:
parent
bf0f01c02f
commit
3a4bfbcc7c
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue