Chmod Modify file Permissions 755 644-r is recursive let the directory also has the relevant permissions
Ugo User User Group other ugo=a a+x=+x
Chown Modify Ask Attribution- R recursive chgrp Authorized user group now, no, because Chown contains
Wwq ! Can also be written in. Deleting a file is controlled by the permissions of the parent directory.
Deleting a file has nothing to do with the permissions of the parent directory. root user x can execute the file, ordinary user r+x can execute ^.* at any beginning . *$ at any end, with x permission to CD directory
there is w no x can only modify file name cannot modify the contents of files
Umask The Production environment directory 755 file that is used to control default file permissions 644
if umask is an even number such as 022 then the file default permission is 666-022
if nmask is an odd 023 Then the file default permission is 666-023 and then the result odd digit plus 1
User home directory permissions are not controlled by the system for 077 reasons in /etc/login.defs The user home directory settings have exclusive umask to control the isolation of different users.
This article is from the "Stream star" blog, please be sure to keep this source http://liukexing.blog.51cto.com/1180302/1962673
Linux File Permissions control