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