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(string $filename , int $permissions ): bool Attempts to change the mode of the specified file to that given in permissions.