Say f: X &rarr; Y is a morphism of schemes.  The sheaf direct image functor f<sub>&#9733;</sub> always has a left adjoint, namely the sheaf inverse image functor f<sup>&#9733;</sup> (with tensoring).

>Under what conditions do we know that f<sub>&#9733;</sub> has a *right* adjoint?  What is it?