---
title: 安装驱动路径不属于root
description: 驱动安装过程中出现类似如下报错。
url: "https://www.hiascend.com/document/detail/zh/300Vtest/300VG/300V_0081.html"
---

# 安装驱动路径不属于root

#### 问题描述

驱动安装过程中出现类似如下报错。

```
[ERROR]The given directory, including its parents, should belong to root, details in : var/log/ascend_seclog/ascend_install.log.
```


图1 报错信息

图2 报错信息日志

#### 可能原因

根据报错信息日志，检查如图3所示。判断usr属于sglab用户组，不属于root用户属主和用户组导致驱动安装失败。

图3 检查用户组


#### 解决方法

1. 把usr的用户属主和用户组改为root。

```
chown -R root /usr/
chgrp -R root /usr/
```


2. 再安装驱动。
