Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FA has died with error: execve: Permission denied #1044

Closed
samuel-hxs opened this issue May 27, 2018 · 3 comments
Closed

FA has died with error: execve: Permission denied #1044

samuel-hxs opened this issue May 27, 2018 · 3 comments

Comments

@samuel-hxs
Copy link

I experienced... write here what happened to you or what the current behavior is.
The game will not start because of missing permissions.
Followed by a known bug.
Platform is Ubuntu 18.

how to reproduce if explanation is needed to reproduce the problem, add it here
Download FAF version 0.16.1 from GitHub as ZIP. Extract and set it up. (UID, install dependency)
Starting and logging in.
Creating a new game or a new campaign. (might as well join one)
Getting error message 'FA has failed to start'.
In log the following appears:

INFO:fa.game_process:Running FA via command:  /home/user/.PlayOnLinux/wine "/home/user/FAForever/bin/ForgedAlliance.exe" /mean 862.228 /deviation 109.085 /country  DE /init init_coop.lua /numgames 91 /log "/home/user/FAForever/logs/game.log" /nobugreport /savereplay "gpgnet://localhost/7995895/themyst.SCFAreplay" /gpgnet 127.0.0.1:34825
INFO:fa.game_process:Running FA via executable: /home/user/FAForever/bin/ForgedAlliance.exe
ERROR:client._clientwindow:FA has died with error: execve: Permission denied
ERROR:client._clientwindow:FA has failed to start

I expected... write here what you think the best behaviour should be
FAF starts the game.

Where the bug is / What should be done if you have a suggestion for fixing the issue, add it here.
ForgedAlliance has no executable permissions. The bug might be else where.
Leads to same behavior as #1007 on second try to start a game.

@Wesmania
Copy link
Contributor

Are you able to run the ForgedAlliance.exe executable with wine manually? This looks like distro-specific behaviour for me, I'm able to run it through wine on Gentoo without any issues.
If it's possible to run the executable after chmod +x, I'll try and see why exactly the permissions aren't given. Oddly enough, it seems SupremeCommander.exe has correct permissions (at least on my end).

@samuel-hxs
Copy link
Author

samuel-hxs commented May 27, 2018

I found the error.
My configuration was wrong and there seems to be no check for it.

I added my wine settings to:

~/.config/ForgedAllianceForever/FA\ Lobby.ini

Excepted was a path to the wine ELF file.
But i gave a path to directory.
Value for parameter 'exe' under category '[wine]'.

Maybe adding a check and error message for clarity if wine settings are wrong.

@Wesmania
Copy link
Contributor

There's no GUI for wine settings just yet, I should really add some. I'll keep in mind to validate settings when I add it. Adding an error window when the game fails to start is a good idea too, I'll do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants