change permission recursively

This commit is contained in:
emrekgn 2016-07-29 19:06:23 +03:00
parent 90a03c1598
commit bf0f01c02f

View file

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