How to set the permission drwxr-xr-x to other folders?
To apply those permissions to a directory:
chmod 755 directory_name
To apply to all directories inside the current directory:
chmod 755 */
If you want to modify all directories and subdirectories, you'll need to combine find with chmod:
find . -type d -exec chmod 755 {} +
For drwxr-xr-x it is:
chmod 755 the_path_to_target
For drwxrwxr-x it is:
chmod 775 the_path_to_target