Home  >  Article  >  Operation and Maintenance  >  Insufficient permissions prompt for root running file in linux

Insufficient permissions prompt for root running file in linux

王林
王林Original
2019-12-04 11:08:138038browse

Insufficient permissions prompt for root running file in linux

Solution:

chmod   a+x   filename

PS: Use strings to set file access permissions.

Online video tutorial sharing: linux video tutorial

The reading is represented by r, the writing is represented by w, and the execution is represented by x;

The owner is represented by u, the group user is represented by g, other users are represented by o, and all users are represented by a.

For example:

chmod a+r,u+w,u+x,g+w  myName.txt

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of Insufficient permissions prompt for root running file in linux. 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