Home >Operation and Maintenance >CentOS >Running the program as root user under centos prompts insufficient permissions

Running the program as root user under centos prompts insufficient permissions

王林
王林Original
2020-03-26 17:04:106171browse

Running the program as root user under centos prompts insufficient permissions

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn