How to solve CentOS prompt about insufficient permissions

angryTom
Release: 2020-03-18 13:20:28
Original
24940 people have browsed it

How to solve CentOS prompt about insufficient permissions

How to solve CentOS prompt about insufficient permissions

When executing a file, CentOS prompts about insufficient permissions because the file does not have execution permissions. The solution is as follows:

1. First su switch to the root user

2. Enter ls -l (this is to view the detailed information of the file) and check the file permissions

3. If When there is an item similar to: "-wr--r-wr-" without "x", it proves that the file does not have executable permissions

4. Add executable permissions and enter the command: "chmod 777 program name" can

execute the file again, and you will not be prompted for insufficient permissions.

This article comes from the PHP Chinese website, CentOS usage tutorial column, please pay attention to this column for more related tutorials!

The above is the detailed content of How to solve CentOS prompt about insufficient permissions. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template