---
title: 安装run包失败，日志中报错“usergroup=root not right!”
description: "安装run包失败，日志中报错“usergroup=root not right!”。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/softwareinst/instg/instg_0082.html
sourcePath: /source/zh/canncommercial/900/softwareinst/instg/instg_0082.html
indexId: 2ee4da17cc48d5a5c241897b6784a56fff0ae73c16854f805e22107e6db4da2964
---
# 安装run包失败，日志中报错“usergroup=root not right!”

#### 问题描述

安装run包失败，日志中报错“usergroup=root not right!”。

图1 报错截图


#### 可能原因

使用非root用户登录环境，切换至root用户执行安装操作时，切换后系统环境变量USER值仍为登录环境的非root用户。


#### 解决措施

执行如下命令，手动将USER环境变量设置为实际执行安装的用户后，再进行安装：

```
export USER=root
```
