Total novice here. My wife wants one of those security door guards (a hinged arm that swings open to a point) on the door. I had bought the hardware, but put it off when the provided screws turned out to be for wood only, unable to penetrate the front door, which was painted metal. I finally got around to buying metal screws. The latch bit went in fine, but when I tried to attach the bolt to the jamb, the moulding started pulling away from the wall. It went back a bit when I finished screwing it in (after a brief panic, thinking that I'd just ruined our door in the start of winter), but not all the way. Is there any trick to keeping the moulding down? Or is this cosmetic and I just need to bridge the gap with a little caulk and paint?
Where the jamb moulding is pulling away
A section which hasn't yet pulled away a little below
The security door guard, in case it's relevant
I have since removed the jamb part of the door guard because it only had one screw and we're expecting company later tonight. The jamb is still a little bit off of the wall, enough that the door squeaks up against it when opening. I'm beginning to suspect that the moulding has probably been this close to pulling away for a while now, possibly due to expansion over the years, and I just lucked into it. I think I have some nails downstairs that I can probably use to try to tack it down.
I tried wood screws on the jamb after tacking it down with finishing nails and drilling guide holes. No dice. At this point, I think I must be hitting something harder just past in the door. Given the sheet metal screws didn't go through, I'm not sure what to do short of maybe trying concrete screws.