Propagate permissions to subfolders and subfiles I know that using sudo chmod 777 /folder will set a particular permission to /folder, but it will not do the same with subfolders and subfiles inside the folder. 

Is there a terminal command to propagate permissions inside the folder?
You have to use -R option to make the command recursive:

sudo chmod -R 777 /folder