chmod 777Using chmod 777 fileTo apply chmod 777 recursively to a folder and all its contents, you can use the -R