What does chmod 700 mean? chmod 700 file
Protects a file against any access from other users, while the issuing user still has full access.
What does chmod 660 do? 660 permission means: I (owner) can write and read the file. Group members can write and read the file.
What does chmod 666 do? chmod 666 file/folder means that all users can read and write but cannot execute the file/folder; chmod 777 file/folder allows all actions for all users; chmod 744 file/folder allows only user (owner) to do all actions; group and other users are allowed only to read.
What does chmod 111 do? Chmod example
Start from the owner’s access – we want them to be able to read, write, and execute, so we can write this symbolically as rwx. This is our first triad. As we let the owner do all three actions, its binary code is 111. In the octal numeral system, it is the same as 7 (1112 = 1 * 22 + 1 * 21 + 1* 20 = 78).