Problem:
When running a program installed under LINUX, root prompts that the permissions are insufficient.
Solution:
1. Check file permissions
#ls -l filename
Result: (Recommended tutorial: centos tutorial)
-rw-rw-rw- 1 root root ....
means that no user has executable permissions (even the root user).
2. Change permissions
#chmod a+x filename
Recommended related video tutorials: linux video tutorial
The above is the detailed content of Running the program as root user under centos prompts insufficient permissions. For more information, please follow other related articles on the PHP Chinese website!