Back to the main site

Game Folder Is Deleted when Launching Any Game After Install

I used to be able to install games and be able to launch them. Now whenever I install a game and then launch it. The game folder is deleted and the game throws an error saying “invalid wine prefix path”. The game logs are also empty. All the previously installed games before the issue appeared work properly. You can find the output of lutris -d and the issue report here.

Here is a screenshot of the error:

I was able to install a game in /home/[username], but I am unable to in the directory where my other drive is mounted.

That’s how Linux works. You work in your home directory. The rest belongs to root.

Do you mount the drive from your file manager?

If so, check whether you own it.

The drive is in /etc/fstab. I have managed to install games by setting the drive as my directory in:
preferences -> system options -> default installation folder
I always install my games in this directory anyway, so it works out perfectly.

Unless it’s some kinda NTFS partition, you can set up drive root directory ownership (for user, or for user group with writable group access). Otherwise, you can set owner via uid mount option (although usage of NTFS for anything more complex than file storage is strongly discouraged).

If you don’t have mc (which is most useful when working with filesystem, IMO), you can check directory ownership/rights by using ls -l in terminal.