The Ghost and Mrs. Muir (1947) is a romantic fantasy film starring Gene Tierney and Rex Harrison. The director was Joseph L. Mankiewicz. It is based on a 1945 novel written by Josephine Leslie under the pseudonym of R. A. Dick. In 1945, 20th Century Fox bought the film rights to the novel, which had been published only in the United Kingdom at that time. It was shot entirely in California. Wikipedia
Captain Gregg: I've lived the life of a man and am not ashamed to admit it.