No Game can install anymore - Lutris refuses to install to path despite path having permision for all users to read and write

2019-10-21 14:13:19,820: GLib.set_option_context_summary missing, was added in GLib 2.56 (Released 2018-03-12)
2019-10-21 14:13:19,845: Running Lutris 0.5.3
2019-10-21 14:13:19,845: Using NVIDIA drivers 418.56 for x86_64
2019-10-21 14:13:19,846: GPU: GeForce GTX 1060 3GB
2019-10-21 14:13:19,846: GPU: 10DE:1C02 0000:0000 using nvidia drivers
2019-10-21 14:13:19,950: Vulkan is supported
2019-10-21 14:13:19,951: Updating DXVK versions
2019-10-21 14:13:20,287: Updating D9VK versions
2019-10-21 14:13:37,615: Lutris does not have the necessary permissions to install to path:
‘/mnt/OCZ_SSD_L/Lutris/epic-games-store’
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

I already had problems before installing the “Epic-games-store” because after the installer run, it simply didn’t install anything in the path, just as “Purzel” has mentioned in https://lutris.net/games/epic-games-store/ comments.

But now when trying to install I get a popup saying “Lutris does not have the necessary permissions to install to path” , even when I set the path to allow every single user/process access, it keeps throwing the error message.

Also in the Lutris logfile in .cache/lutris/ there is an extra error: “[WARNING:2019-10-21 14:24:53,781:system]: Non existent path: /home/vuurdraak/.cache/lutris/installer/epic-games-store”

Also my .cache folder is symlinked to a hard-disk to avoid burning up my SSD drive, but that was not a problem with other games that I have successfully installed before.

Edit: I’m on Ubuntu 16.04 LTS 64bit

What filesystem are you using?

Can you access tha .cache path in a regular file manager?

What permissions are set on the .cache directory?

I have the same error while installing Epic Games Launcher. BTRFS on SSD and Lutris games installation directory is on hard drive /mnt/Jar/Games, that is btrfs as well.

sudo inxi -Fxzmc0

System: Host: skaifermanjaro Kernel: 5.4.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Console: tty 0
Distro: Manjaro Linux
Machine: Type: Desktop Mobo: ASUSTeK model: PRIME B250M-A v: Rev X.0x serial: UEFI: American Megatrends v: 0809
date: 07/10/2017
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard charge: 55% (should be ignored) status: Discharging
Memory: RAM: total: 15.58 GiB used: 5.56 GiB (35.7%)
Array-1: capacity: 64 GiB slots: 4 EC: None max module size: 16 GiB note: est.
Device-1: ChannelA-DIMM1 size: 8 GiB speed: 2133 MT/s type: DDR4
Device-2: ChannelA-DIMM2 size: No Module Installed
Device-3: ChannelB-DIMM1 size: 8 GiB speed: 2133 MT/s type: DDR4
Device-4: ChannelB-DIMM2 size: No Module Installed
CPU: Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake rev: 9 L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24008
Speed: 900 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900
Graphics: Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI driver: nvidia v: 440.36 bus ID: 01:00.0
Display: server: X.Org 1.20.6 driver: nvidia resolution: 1360x768~60Hz
OpenGL: renderer: GeForce GTX 1060 3GB/PCIe/SSE2 v: 4.6.0 NVIDIA 440.36 direct render: Yes
Audio: Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1
Device-3: GEMBIRD USB2.0 PC CAMERA type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-8:5
Sound Server: ALSA v: k5.4.2-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8168 v: 8.047.05-NAPI
port: d000 bus ID: 03:00.0
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac:
Drives: Local Storage: total: 1.02 TiB used: 630.36 GiB (60.4%)
ID-1: /dev/sda vendor: A-Data model: SU650 size: 111.79 GiB
ID-2: /dev/sdb vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
Partition: ID-1: / size: 100.44 GiB used: 56.10 GiB (55.9%) fs: btrfs dev: /dev/sda4
ID-2: /boot size: 1007.9 MiB used: 143.0 MiB (14.2%) fs: ext2 dev: /dev/sda1
ID-3: /home size: 100.44 GiB used: 56.10 GiB (55.9%) fs: btrfs dev: /dev/sda4
ID-4: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 41 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 36%
Info: Processes: 274 Uptime: 6h 31m Init: systemd Compilers: gcc: 9.2.0 clang: 9.0.0 Shell: bash v: 5.0.11 inxi: 3.0.37

I am using EXT4 on an SSD drive where I am trying to install Epic game store, it can create the directory on that drive and then throws the “Lutris does not have the necessary permissions to install to path:
/mnt/OCZ_SSD_L/Lutris/epic-games-store” error.

I can access the .cache folder without any problems, as mentioned before the .cache folder is sym linked from my boot SSD to a harddisk, all permissions to all mentioned directories are non root but me as a user.

I just tested another free game see what would happen, and it throws the same error, so i guess nothing can actually install anymore, I am starting to think that Lutris can not handle the sym linked .cache dir that is annoying mmmm.

I guess Lutris is forcing me to make sym links for every single program in the .cache dir grrrrrr or kill my SSD drive sooner if I am too lazy for that, I will report back if un sym linking the .cache dir will help.

Un sym linking the cache folder didn’t do anything, also setting permisions to acces the .cache lutris folder to everything and everybody doesn’t do anything, I do how ever notice an error in the lutris.log file: “GLib.set_option_context_summary missing, was added in GLib 2.56 (Released 2018-03-12)”

[INFO:2019-12-31 14:30:09,072:interpreter]: Cancelling installation of Epic Games Store
[WARNING:2019-12-31 14:30:09,103:system]: Non existent path: /home/vuurdraak/.cache/lutris/installer/epic-games-store
[ERROR:2019-12-31 14:33:22,853:errors]: Lutris does not have the necessary permissions to install to path:
‘/mnt/OCZ_SSD_L/Lutris/epic-games-store’
[INFO:2019-12-31 14:38:52,121:interpreter]: Cancelling installation of Epic Games Store
[WARNING:2019-12-31 14:38:52,132:system]: Non existent path: /home/vuurdraak/.cache/lutris/installer/epic-games-store
[INFO:2019-12-31 14:40:13,553:runner]: Getting runner information for wine (version: lutris-4.16-x86_64)
[ERROR:2019-12-31 14:40:30,164:errors]: Lutris does not have the necessary permissions to install to path:
‘/mnt/OCZ_SSD_L/Lutris/world-of-tanksNA’
[ERROR:2019-12-31 14:40:30,164:errors]: Lutris does not have the necessary permissions to install to path:
‘/mnt/OCZ_SSD_L/Lutris/world-of-tanksNA’
None
[INFO:2019-12-31 14:40:40,149:interpreter]: Cancelling installation of World of Tanks
[WARNING:2019-12-31 14:40:40,169:system]: Non existent path: /home/vuurdraak/.cache/lutris/installer/world-of-tanks
[WARNING:2019-12-31 14:40:56,943:application]: GLib.set_option_context_summary missing, was added in GLib 2.56 (Released 2018-03-12)
[INFO:2019-12-31 14:40:56,948:application]: Running Lutris 0.5.4
[INFO:2019-12-31 14:40:56,949:startup]: Using NVIDIA drivers 418.56 for x86_64
[INFO:2019-12-31 14:40:56,950:startup]: GPU: GeForce GTX 1060 3GB
[INFO:2019-12-31 14:40:56,951:startup]: GPU: 10DE:1C02 0000:0000 using nvidia drivers
[INFO:2019-12-31 14:40:56,982:startup]: Vulkan is supported
[INFO:2019-12-31 14:44:34,040:application]: Shutting down Lutris

So I guess somehow Lutris stopped working properly and I can no longer install anything, as it keeps throwing the permission denied error strange.

Also reinstalling lutris with synaptic doesn’t do anything.

I just tried installing a game (epic game center) when running lutris as root, and now it does install.

This is really weird, there must be something in my Lutris install that requires root now ???

The weird thing is that when not installing as root, all the directories lutris seemingly wants to use, like the .cache folder or the directories it is writing too have full user/non root permission.

Anybody have an idea what other directories somehow could have accidentally been assigned to root in lutris that is causing this ?

I have notice some other weird behavior, some directories even when I run lutris as root are no longer visible inside lutris, even though these folders have global read/write permissions, it’s like something is really wrong with lutris.

I am noticing in the consol that I get GLIBC 2.27 errors , did lutris move stuff to GLIB 2.27 which is not suplied in Ubuntu 16.04 LTS but only in Ubuntu 18.04 LTS ???


2020-01-01 12:55:51,148: Creating a win64 prefix in /mnt/OCZ_SSD_L/Lutris/epic-games-store
2020-01-01 12:55:51,451: win64 Prefix created in /mnt/OCZ_SSD_L/Lutris/epic-games-store
2020-01-01 12:55:51,454: Couldn’t load shell folder name for Desktop
2020-01-01 12:55:51,455: Couldn’t load shell folder name for Personal
2020-01-01 12:55:51,455: Couldn’t load shell folder name for My Music
2020-01-01 12:55:51,456: Couldn’t load shell folder name for My Videos
2020-01-01 12:55:51,456: Couldn’t load shell folder name for My Pictures
2020-01-01 12:55:51,468: The game doesn’t have an executable
Running /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/winecfg
000f:err:module:load_so_dll failed to load .so lib “/home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib64/wine/msvcrt.dll.so”: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.27' not found (required by /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/../lib64/wine/msvcrt.dll.so) 000f:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") failed (error c000007a). 000f:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\system32\\wineboot.exe" failed, status c0000135 000d:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 000d:err:module:load_so_dll failed to load .so lib "/home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/../lib/wine/msvcrt.dll.so": /lib32/libm.so.6: versionGLIBC_2.27’ not found (required by /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib/wine/msvcrt.dll.so)
000d:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\windows\system32\version.dll") failed (error c000007a).
000d:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found
000d:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\shlwapi.dll") not found
000d:err:module:load_so_dll failed to load .so lib “/home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib/wine/msvcrt.dll.so”: /lib32/libm.so.6: version GLIBC_2.27' not found (required by /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/../lib/wine/msvcrt.dll.so) 000d:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") failed (error c000007a). 000d:err:module:import_dll Library shlwapi.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 000d:err:module:load_so_dll failed to load .so lib "/home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/../lib/wine/msvcrt.dll.so": /lib32/libm.so.6: versionGLIBC_2.27’ not found (required by /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib/wine/msvcrt.dll.so)

000d:err:module:load_so_dll failed to load .so lib “/home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib/wine/msvcrt.dll.so”: /lib32/libm.so.6: version `GLIBC_2.27’ not found (required by /home/vuurdraak/.local/share/lutris/runners/wine/lutris-5.0-rc3-x86_64/bin/…/lib/wine/msvcrt.dll.so)
000d:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\windows\system32\version.dll") failed (error c000007a).
000d:err:module:import_dll Library version.dll (which is needed by L"C:\windows\system32\user32.dll") not found
000d:err:module:import_dll Library user32.dll (which is needed by L"C:\windows\system32\winecfg.exe") not found
000d:err:module:LdrInitializeThunk Importing dlls for L"C:\windows\system32\winecfg.exe" failed, status c0000135
Waiting on children
All children gone
Exit with returncode 53

Never mind it’s only the latest wine versions that I can not run as they are using GLIBC 2.27
Epic installer is installing/running now as root lutris with the wine 4.6 version, without root lutris crashes.
And after wards the Epic game center refuses to install throwing errors.

So conclusion something is wrong with my lutris installation, as it now requires root to attempt to install anything at all. and without using root, lutris is not listing all the folders that are on my drive, I can check this by attempting to run an exe in a wine bottle, non root only lists the windows folder in drive C, when lutris is root it lists all folders, even though all folders have global read/write access.

I guess lutris wants to force me to go install Ubuntu 18.04 LTS or else no future wine version works as they all now seem to use GLIBC 2.27.

Still I have no clue why I need to run lutris as root, or else it refuses to list a big number of folders, iaw it can’t access many folders even though these folders have global read/write access

Okay I am at a loss,

I have searched my system for every file and directory named “lutris”, and made sure permission to all of them including everything in the folder and sub folders, was set to me as a user, so nothing is root.

I have used Synaptic to reinstall Lutris, short of deleting all functioning games, but it doesn’t help, I keep getting, permission denied errors as soon as I try to install anything …

“PermissionError(13, ‘Permission denied’)”

I have no clue why Lutris is doing this :frowning:

I guess the only thing to do is to run Lutris as root every time I want to install a game, and then if necessary, set that game back to the normal user if it won’t run without root privileges.

I guess if you run Lutris as root one time, it’s impossible to undo it, as I have no clue what is set to root that Lutris uses that makes everything broken.
Even if I run Lutris as root I see some really weird behavior, I can see in some installations, folders inside the “browse files” stuff, that are not visible on disk (iaw nautilus) and visa versa, folders that I can see in nautilus, are not there for Lutris, I have no idea what is going on with that. (Yes this is on an EXT4 partition)

Firstly (but you figured that one out already :slight_smile: ) you should not run Lutris as root. Secondly, every file which is outside of your home directory should be owned by root. Thirdly, everything which is located in your home directory should be owned by your user.

There are a few things you should do/check.

1. Check the permissions on /mnt/OCZ_SSD_L/.

I run my games on different drives too but have them mounted to a sub-directory in my home directory and my user is the owner.

This is a permanent mount via /etc/fstab. To do this I created a directory called games in my home directory and added a line to /etc/fstab.

You can find your drive’s UUID by using the command sudo blkid.

The line in /etc/fstab should look like this:

UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /home/<username>/games  ext4    defaults        0 0

When /etc/fstab contains the correct information and is saved then remount everything by using sudo mount -a.

When done change the owner recursively by using sudo chown -R <username> /home/<username>/games/.

Lastly change permissions with sudo chmod -R 755 /home/<username>/games/

2. Check the Lutris directories for correct permissions.

Lutris uses the following directories to store information in:

/home/<username>/.cache/lutris
/home/<username/.config/lutris

Both should be owned by your user and permissions should be set correctly. To do this use the same commands as used previously but with 664 because that’s whats set in my directories:

# owner ...
sudo chown -R <username> /home/<username>/.cache/lutris
sudo chown -R <username> /home/<username>/.config/lutris

# permissions ...
# here everything has 664 as permissions with these exceptions ...
sudo chmod -R 664 /home/<username>/.cache/lutris
sudo chmod -R 700 /home/<username>/.cache/lutris/WebKitCache/
sudo chmod -R 700 /home/<username>/.cache/lutris/gog/
sudo chmod -R 775 /home/<username>/.cache/lutris/installer/
sudo chmod -R 775 /home/<username>/.cache/lutris/tmp/

# here all directories have 775 as permissions, all files have 664 ...
sudo chmod -R 775 /home/<username>/.config/lutris
sudo chmod -R 664 /home/<username>/.config/lutris/lutris.conf
sudo chmod -R 664 /home/<username>/.config/lutris/system.yml

3. Check everything under the root (/) directoy.

The owner should be root and permissions should be like everything else in these locations:

/usr/bin/lutris
/usr/bin/lutris-wrapper
/usr/share/lutris/*
/usr/lib/python3.7/site-packages/lutris/*

That should be it. As for the glibc 2.27: you are correct. You need the newer version of Ubuntu.

TFK