The importance of permissions for files
Linux files are generally text files, database content files, binary files.
So the meaning of the permission for the file is:
R: Read the contents of this file
W: Edit, add or modify the contents of the file (but do not include delete to change the file)
X: Enable the file to be executed by the system
The importance of permissions for folders
R: With permission to read the directory list structure, you can view the directory containing some files '
W: You can create new files and directories under this directory, delete files and directories that already exist in the directory, rename files and directories under the directory, and move the location of files and directories under this directory.
X: You can use the CD command to enter the directory with this permission
The meaning of permissions for files and folders