Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.92k stars 417 forks source link

Eacces issue failing to make directories or access files #3926

Open sendnonsensehere opened 1 month ago

sendnonsensehere commented 1 month ago

Describe the bug

Every time I try to launch a game, I get this error. It happens whether or not: -It's a long time or fresh install of Linux -On both Ubuntu and Mint -On two separate laptops -Using backups of Proton-GE and Wine-GE -Using fresh downloads of the same -Using the x64 tarball, the AppImage, or the installed DEB package -With access given to the Heroic launcher as well as unlocking the entire contents of my /home directory using right-click to properties -Putting the GE directories in .config, the Downloads directory, or /home/Games -Instructing prefixes to be installed to any combination of the same -Putting the game in any combination of the same

It's likely my problem somewhere regarding directory access or something, so if it's a simple fix regarding the OS or permissions or whatnot, I'd love to know what's up. Much thanks.

Add logs

Will provide if requested.

Steps to reproduce

Run any program with either GE

Expected behavior

Running the program

Screenshots

No response

Heroic Version

Latest Stable

System Information

Ubuntu 22.04, Mint Wilma, Acer A17 TUF and Vivobook 15

Additional information

No response

sendnonsensehere commented 1 month ago

Also, whenever I try to run games using regular Wine-devel, the game opens fine, but when I choose one of the GE flavors, Wine or Proton, I get the "A uncaught exception occured: Error: spawn /home/ME/Games/Heroic/Prefixes/default/Game/drive_c/Proton-GE-latest/files/bin/wineserver EACCES Report the exception on our Github repository." error, and all of the hidden folders and files in my Home directory get hidden again, forcing me to unhide them.

sendnonsensehere commented 1 month ago

It turns out I was right and it was a file rights issue of some kind: I had to set every file in the GE directories to be allowed executed as programs using "chmod -R 777" from the Proton-GE and Wine-GE directories. I don't get why everything was running perfectly just a few months ago and then all of a sudden this problem cropped up, maybe because I updated from Ubuntu 22.04-2 to 22.04-4 and there were some safety extras enabled or whatever.

arielj commented 1 month ago

this can be closed, right?