chmod 777The command chmodchmod(string $filename , int $permissions ): bool Attempts to change the mode of the specified file to that given in permissions.