chmod 777chmod a-w file (removes all writing permissions) chmod o+x file (sets execute permissions for other (public permissions)) chmod u=rx file (Give the owner rx permissions,chmod 777 foldername will give read, write, and execute permissions for everyone. chmod 700 foldername will give read, write, and execute