
From Getty's Ganesa (1936)
Vyas ke LekhakVyasa's scribe: the legend of Ganesha and the Mahabharata, as Getty traces it
The inner meaning
Getty says opinions differ on how the Remover of Obstacles became the Patron of Letters. She gives Bagchi's suggestion: from very old times the Indian alphabet was called "siddham" and its recital began with the word "siddhi"; one epithet of Ganesha is Siddhidata, Giver of Success, and that link may have given rise to the legends that show him as a scribe. Bhandarkar puts it down to a confusion with the Vedic Brihaspati. These are scholars' opinions, not facts, and Getty gives each under its author's name.
Story
Alice Getty, "Ganesa" (Oxford, 1936), chapter I. Getty writes that the elephant-faced god is not mentioned in the text of either epic; but in the introduction to the north India recension of the Mahabharata there is a Ganesha who is scribe to Vyasa and writes down his dictation with superhuman speed. In the Balabharata, a poem of the ninth century, Valmiki asks Vyasa how the Mahabharata is progressing, and Vyasa answers that after severe austerities he has secured Maha-Ganesha as his scribe. Winternitz believes the legend was known long before the ninth century; the introduction to the south India recension mentions neither Ganesha nor the legend. Getty notes that no ancient Indian fresco or sculpture shows him as a scribe; there are two miniatures. On the cover of a thirteenth-century Nepalese manuscript he sits on the rat, his right hand holding the broken tusk point downward like a stylus; Getty thinks he is very likely shown here as scribe to Shiva, since the text is Tantric. In a seventeenth-century Rajput painting (Boston Museum of Fine Arts) four-armed Ganesha stands before the worshipping Vyasa; its text relates that while Vyasa was worshipping Brahma, Ganesha suddenly appeared, Vyasa worshipped him, and he agreed to become his scribe. Only these two miniatures, Getty says, show that the scribe Ganesha is the elephant-faced Ganesha. Getty adds that in certain accounts Ganesha used his broken tusk as a stylus when writing for Vyasa.
Message
Getty's conclusion: his name as Patron of Letters lasted through centuries, and no pious Hindu would publish a work without first asking his blessing.