The executable permission of the directory indicates whether you can execute commands under the directory. If the directory does not have the-X permission, you cannot execute any commands on the directory or even CD into the directory. Even though the directory still has the-R Read permission (this place is prone to make mistakes, think that having Read permission can enter the directory to read the file under the directory).
If the directory has the-X permission but does not have the-r permission, the user can execute the command and the CD can enter the directory. However, because there is no Read permission to the directory, under the directory, even if the LS command can be executed, but still do not have permission to read the document under the directory.
Cases:
For a normal user to be able to make CP/DIR1/FILE1/DIR2 commands, please explain dir1 file1 What is the minimum permissions?
DIR1 minimum x permission
File1 minimum R permission
The difference between directory Read permission and execute permission under Linux