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

Insufficient permissions prompt for root running file in linux

王林
Release: 2019-12-04 11:08:13
Original
8111 people have browsed it

Insufficient permissions prompt for root running file in linux

Solution:

chmod   a+x   filename
Copy after login

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
Copy after login

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!

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