 Sturges was borrowed from The Mirisch Company.Filming was set to begin in April 1965, but scheduling conflicts and United States Department of Defense objections over Paddy Chayefsky's screenplay, because they felt it showed "an unfair distortion of military life" that would "damage the reputation of the Navy and its personnel" delayed the start.A new script was commissioned.