Исправлено изменение прав симлинков.

master3.3
Mike Hiretsky 10 years ago
parent 422a4e19e8
commit 39fb51e33c

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

Loading…
Cancel
Save