sudo chmod -R ugo+rwx /file/path
chmod +x <fileName> # add execute permission to that file (.x.x.x)
chmod +r <fileName> # add read permission to a file
chmod +w <fileName> # add write permission to the file
chmod u+x <fileName> #add execute permission to owner of the file
chmod 400 <fileName> # set file only read permission to owner
#chmod-calculator.com