(0x8004048E) Failed to create the star XY list for the all sky solver

It was not possible to create a text file to receive the list of detected star XY positions for the all-sky solver. This file is created in the same directory as the image itself. Is the image in a read-only directory?