ID:37002 Can't write to Atom Netlist File <name>

CAUSE: You attempted to write to the specified Atom Netlist File (.atm) using the Export Database command (Project menu), the Tcl command --export_database, or the quartus_cdb with the --export_database option. However, the Quartus Prime software cannot write to the file because the file is read-only read-only, is currently in use, or some other error occurred while writing to the file.

ACTION: Make sure the ATM File is not read-only, is currently not being used, and that you have permission to write to the file.