From 39fb51e33cf17a78c6f631a81eed6a1e72be3d1b Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Fri, 31 Jan 2014 09:36:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=20=D1=81=D0=B8=D0=BC?= =?UTF-8?q?=D0=BB=D0=B8=D0=BD=D0=BA=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calculate/lib/cl_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculate/lib/cl_template.py b/calculate/lib/cl_template.py index d5d7cdf..35100db 100644 --- a/calculate/lib/cl_template.py +++ b/calculate/lib/cl_template.py @@ -5127,7 +5127,7 @@ gettext -d cl_template "$*" # Создание файла FD = open(nameFileConfig, "w") FD.close() - os.chown(nameFileConfig, uid, gid) + os.lchown(nameFileConfig, uid, gid) except Exception as e: if hasattr(e,'errno') and e.errno == 13 and \ "var/calculate/remote" in nameFileConfig: