From bf0f01c02fb0340e59ad436a7a9d1391f7040ad3 Mon Sep 17 00:00:00 2001 From: emrekgn Date: Fri, 29 Jul 2016 19:06:23 +0300 Subject: [PATCH] change permission recursively --- opt/ahenk/base/util/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opt/ahenk/base/util/util.py b/opt/ahenk/base/util/util.py index 1343122..cdb5d60 100644 --- a/opt/ahenk/base/util/util.py +++ b/opt/ahenk/base/util/util.py @@ -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):