Why is my model saving as a .tmp file? Sketchup Pro 2018

If I’m not mistaken SketchUp saves as a separate file and then swaps out the old file, to avoid data corruption in the case of SketchUp exiting during save. If that’s the case I still don’t know why the last step of renaming the file doesn’t work. Do you have write permission to the skp file?