Sheryl Crow has been granted a temporary restraining order against a man who is accused of threatening to shoot her.