Change permissions of folder and subfolders in Linux

To change existing files and folders permissions, use these in the command line:

find ./ -type d -exec chmod 755 {} \;

find ./ -type f -exec chmod 644 {} \;

Comments are closed.