How to change permissions of folder and its subfolders and files using command line

If you want to change permissions of folder or directories to 755 and either leave the files alone or set them to 644. You can use the¬†find¬†command. For example: To change all the directories to 755 (drwxr-xr-x): To change all the files to 644 (-rw-r–r–): YouTube channel: https://www.youtube.com/@trainbrain007