develop
asamoukin 16 years ago
parent 823637cf0e
commit 50fa47e455

@ -385,6 +385,9 @@ calculate-server"),
# Создаем пользовательскую директорию
homeDir = os.path.join("/home",self.userName)
self.clVars.Set('cl_root_path',homeDir,True)
if not os.path.exists(homeDir) and os.listdir(homeDir):
self.printWarning(_("home dir %s exists")%homeDir)
return True
if not os.path.exists(homeDir):
self.createUserDir(uid, gid, homeDir)
# Записываем переменную логин

Loading…
Cancel
Save