Permissions:
Both methods give permission of
a octal mode
chmod -R 700 文件名
: Owner has three rights, is a group, and other users no permissions (-R option allows to change permissions recursively applied to files and subdirectories)
Second, symbol patterns
initials take user, group, other of u, g, o, as symbols represent empowered to whom, a (all) representative of the three empowerment simultaneously.
Take read, write, execute the first letter and the second letter r, w, x symbol represents as read, write, and execute, as claimed in
+: increase existing permission rights on the basis of
: - removing existing permission rights basis
= : permissions set to the following values chmod -R g-rwx,x-rwx 文件名
: If there is no change before and three owner rights authority, then the result chmod -R 700 文件名
is consistent.
Reproduced in: https: //www.jianshu.com/p/bb3201e7f283