@ -1363,7 +1364,10 @@ class NsmServerControl(object):
returnFalse
else:
logger.info(f"Renaming {nsmSessionName} to {newName}.")
oldPath.rename(newPath)
tmp=pathlib.Path(oldPath.name+str(uuid4()))#Can't move itself into a subdir in itself. move to temp first. We don't use tempdir because that could be on another partition. we already know we can write here.