未验证 提交 3582a889 编写于 作者: O openharmony_ci 提交者: Gitee

!10193 [翻译完成】#I5PN8G

Merge pull request !10193 from Annie_wang/PR9061
......@@ -56,17 +56,21 @@
- **Possible Causes**
You do not have the permission to access files in the RISC-V compiler directory.
You do not have the permission to access files in the RISC-V compiler directory.
- **Solution**
1. Run the following command to locate **gcc_riscv32**:
```shell
which riscv32-unknown-elf-gcc
```
```shell
which riscv32-unknown-elf-gcc
```
2. Run the **chmod** command to change the directory permission to **755**.
### "No module named 'Crypto'" Displayed During the Build Process
......@@ -76,7 +80,7 @@
- **Possible Causes**
Crypto is not installed in Python 3.
Crypto is not installed in Python3.
- **Solution**
......@@ -109,4 +113,21 @@
sudo ln -s /bin/bash /bin/sh
```
### "some services are not authenticated. Listed as follows" Displayed During the Build Process
- **Symptom**
The build fails, and "some services are not authenticated. Listed as follows" is displayed.
- **Possible Causes**
For the processes listed in the error information, the UID is set to **root** or **system** in the process configuration files. However, these processes are not high-privilege processes defined by the product.
- **Solution**
Modify the process configuration file to reduce the privilege level. Do not set **UID** to **root** or **system** unless necessary.
If a process must have the **root** or **system** privilege due to service requirements, modify the **high_privilege_process_list.json** file with the approval of security experts. The **high_privilege_process_list.json** file is located in **vendor/**{*company_name*}/{*product_name*}**/security_config**. For example, the file for rk3586 is **//vendor/hihope/rk3568/security_config/high_privilege_process_list.json**.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册