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!