Linux new file permissions issue

  

touch /etc/init.d/httpd

chmod 755 /etc/init.d/httpd


==== ================================================================================================== For example, the time to see the prompt file at compile time is the future time, you can use the touch command to modify.

================================================================== Linux Linux chmod +755 and Chmod +777

Enter ls -al in the linux terminal first, you can see: -rwx-r--r-- (a total of 10 parameters) The first parameter has nothing to do with chmod, first. 2-4 parameters: belong to user5-7 parameters: belong to group8-10 parameters: belong to others and then simple: r==> readable w==> writable x==> executable r=4 w =2 x=1 so 755 stands for rwxr-xr-x

Copyright © Windows knowledge All Rights Reserved