Project scenario:
When debugging or installing the driver in the Linux system, we often encounter the problem of insufficient permissions of one kind or another.
Problem Description
bash: ./test: 权限不够提示:
Cause Analysis:
Tip: Fill in the analysis of the question here:
The main reason is that in non-root mode, the permissions are not enough, and in some cases, even if the sudo command is used to operate, it is found that the operation cannot be performed
solution:
Tip: Fill in the specific solution to the problem here:
Command method:
For example: bash: ./test: Insufficient permissions
Add executable permissions to the file: chmod +x test
and then enter ./test;
You can also use the following two directives:
chmod +x install diriver.sh
source install drivers.sh
This can also avoid the problem of non-root privilege operation.
Using the above method avoids the problem of insufficient permissions under the linxu system.