chmod 777chmod is used to change the permissions of the actual file. When you execute chmod 777, you are allowing RWX (read, write, execute) access to owners, groups,The chmod command modifies the mode bits and the extended access control lists (ACLs) of the specified files or directories. The mode can be defined