The Canterville Ghost (1944)
The Canterville Ghost is a 1944 fantasy/comedy film directed by Jules Dassin, loosely based on the short story of the same title by Oscar Wilde. It starred Charles Laughton as a ghost doomed to haunt an English castle and Robert Young as his American descendant called upon to perform an act of bravery to redeem him.
More at Wikipedia.