chmod 777777 means the file directory is granted read, write and execute permissions for all three user classes, including the owner, group members, and others.chmod 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,