-
Notifications
You must be signed in to change notification settings - Fork 38
protontricks seems to lack permissions, running as sudo results in crash (returncode: 69) #307
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
Comments
Protontricks creates a set of Wine wrapper scripts under The location has caused problems before. I might set it to prefer |
@Matoking thanks! Anything I can do in the meantime to make it work on my end? |
Create Wine wrapper scripts under either `$XDG_RUNTIME_DIR` and `$XDG_CACHE_DIR`, depending on which location permits executables. `$XDG_RUNTIME_DIR` is preferred if available. Prior to this, we always created the directory for the Wine wrapper scripts under `$XDG_CACHE_DIR`. This can be problematic as sometimes the mount point has the `noexec` mount flag set, causing any Wine calls to crash later. Note that we also need to set sticky bits for files under `$XDG_RUNTIME_DIR` to avoid automatic cleanup per XDG spec. A quick search indicates no distro implements this cleanup yet, though. There also doesn't seem to be any harm unnecessarily setting this sticky bit for files residing elsewhere, so just set it everywhere for simplicity's sake. Fixes #307
Don't run Protontricks as root! It's generally a bad idea for general applications, as even if it does work it can make a mess of your file permissions. Protontricks does not require administrator rights. I've pushed an experimental fix described above to the $ pipx install --force git+https://github.com/Matoking/protontricks.git@check_mount_noexec If that doesn't solve the issue, could you try running |
@Matoking I tried your new version, unfortunately it did not work:
Here is the mount output:
|
The error you received is unrelated to this issue; see #304. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I am following this guide to get Gothic II to run:https://bfloeser.de/posts/gothic/#the-absolute-minimum
Installing the needed components via protontricks results in errors.
To Reproduce
Expected behavior
should install directmusic
System (please complete the following information):
Additional context
If I do
protontricks 39510 directmusic
I get:If I try
sudo -E protontricks 39510 directmusic
I get:Any help would be appreciated!
The text was updated successfully, but these errors were encountered: