[Errno 2] No Such file or directory for .yml file, keeps deleting exe / prefix directories.
I've been getting this error on both my steam deck and main PC (Linux Mint) where if I try and change some settings in a game's configuration I can no longer run it and get this error (using Civ 3 as an example):
[Errno 2] No such file or directory: '/home/user/.var/app/net.lutris.Lutris/data/lutris/games/sid-meiers-civilization-iii-complete-setup-1760864600.yml' -> '/home/user.var/app/net.lutris.Lutris/data/lutris/games/sid-meiers-civilization
Opening the configuration menu back up shows that both the exe and wine prefix directories are wiped. Re-entering the correct information just gets it deleted again.
The .yml file directory it throws up is the correct one. A workaround I've found is to duplicate the existing .yml file and add "setup" in the file name (e.g. sid-meiers-civilization-iii-complete-setup-1760864600) since that's what it tries to find and the game runs. If I do anything in the configuration menu afterwards though it instantly deletes it and goes back to throwing this error.
Is there any fix for this? I noticed it happening a few months ago but thought I was using a corrupted installer before realising it was Lutris itself causing this.
Posted May 24, 2026, 2:46 AM UTC