chmod 777The chmod command modifies the mode bits and the extended access control lists (ACLs) of the specified files or directories. The mode can be definedchmod 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,