mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 13:32:22 +03:00
change permission recursively
This commit is contained in:
parent
90a03c1598
commit
bf0f01c02f
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class Util:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def set_permission(path, permission_code):
|
def set_permission(path, permission_code):
|
||||||
Util.execute('chmod {} {}'.format(permission_code, path))
|
Util.execute('chmod -R {0} {1}'.format(permission_code, path))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def has_attr_json(arg, attr_name):
|
def has_attr_json(arg, attr_name):
|
||||||
|
|
Loading…
Reference in a new issue