By a strict definition of writing (e.g. what we're doing now), people have only been able to write for a few thousand years, and much of the adult population was illiterate until recently. Define it widely enough (visual communication of information), and some other animals (e.g. tigers) also "write": https://animalresearcher.com/why-do-tigers-scrape-trees-at-s...
You could reasonably argue though, that we have passed on information over long periods of time orally, e.g. in epic poems, and that (as far as we know) no other animal does that.