mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 03:52:17 +03:00
Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk
This commit is contained in:
commit
8859c981eb
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -263,7 +263,7 @@ class Util:
|
|||
|
||||
@staticmethod
|
||||
def set_permission(path, permission_code):
|
||||
Util.execute('chmod {} {}'.format(permission_code, path))
|
||||
Util.execute('chmod -R {0} {1}'.format(permission_code, path))
|
||||
|
||||
@staticmethod
|
||||
def has_attr_json(arg, attr_name):
|
||||
|
|
Loading…
Reference in a new issue