LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Permissions problem running game GOG Ion Fury (https://www.linuxquestions.org/questions/slackware-14/permissions-problem-running-game-gog-ion-fury-4175671537/)

TarFile 03-17-2020 08:06 PM

Permissions problem running game GOG Ion Fury
 
This was on sale so I grabbed it as it runs on Linux. It works as root and id I use sudo to start the game. So I know it has something to do with permissions.

Not sure what.

This is what happens

sh-4.3$ cd 'GOG Games'
sh-4.3$ cd 'ION Fury'
sh-4.3$ sh start.sh
Running ION Fury
./fury_nodrm.bin[0x4c28dd]
/lib64/libc.so.6(+0x35480)[0x7fc90c8bb480]
/lib64/libc.so.6(fwrite+0x18)[0x7fc90c8f45e8]
./fury_nodrm.bin[0x47c9db]
./fury_nodrm.bin[0x4c2931]
./fury_nodrm.bin[0x4c2aeb]
./fury_nodrm.bin[0x4d7aa6]
./fury_nodrm.bin[0x4059ce]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7fc90c8a67d0]
./fury_nodrm.bin[0x406ced]

Any ideas what it needs?

I did have to install SDL2_mixer to get it to run.

TheRealGrogan 03-18-2020 05:54 AM

Make sure you own the directory and files (note that if you ran it as root, the game might have created files in its directory owned by root)

Try adding yourself to the video and audio groups.

e.g. in /etc/group

audio:x:11:grogan
video:x:12:grogan

When I'm the only person operating a system (i.e. not some server with multiple admins) I might edit that file directory, but a more correct way would be to use the usermod command

Code:

usermod -G audio,video grogan

dugan 03-18-2020 09:34 AM

If you installed as root: you're not supposed to do that. You're supposed to run GOG MojoSetup installers from your regular user account.

TarFile 03-18-2020 11:45 AM

I installed the game as a user as usual. Then figured out I needed SDL2_mixer. Which I built as root. Then since I was already logged on to X I tested the game. That created an fury.log which belonged to root. User can not access said log file as user is not root. Set the owner to user problem solved. My bad. :rolleyes:


All times are GMT -5. The time now is 04:29 PM.