Send a mail when a shell script is modified

I would like to know, whether is there any command/tool in Linux (something like Oracle Trigger function) to send a mail if a particular shell script has been modified with details like, modification time, modified by, etc.

Thanking in advance,

In Linux there is inotify in more recent versions of the kernel. You can pipe inotify output into mailx, for example.

Otherwise you will have to write a daemon that periodically does a checksum, and emails you when the checksum changes or the stat mode return value changes.

Is there some reason why you cannot change protections on the file to stop this problem?