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

Wine refuses to launch games from NTFS drive #223

Closed
Her0brineCreeper opened this issue Mar 12, 2024 · 1 comment
Closed

Wine refuses to launch games from NTFS drive #223

Her0brineCreeper opened this issue Mar 12, 2024 · 1 comment

Comments

@Her0brineCreeper
Copy link

Her0brineCreeper commented Mar 12, 2024

The problem

I have a dual-boot environment with one NTFS-formated hard drive with my games, so I can launch them from both Windows and Linux. The drive is automatically mounted at boot using an /etc/fstab entry with the default settings. This means all files and folders are owned by root:root with 777 permissions so all users can read and write the drive.

grafik

However, wine (proton) refuses to launch games from this drive with the following log:

======================
Proton: 1709844556 experimental-9.0-20240307b
SteamGameId: 945360
Command: ['/mnt/01D4670B74BF1CD0/Programme/SteamLibrary/steamapps/common/Among Us/Among Us.exe']
Options: {'forcelgadd'}
depot: 0.20240212.77547
pressure-vessel: 0.20240212.0 scout
scripts: 0.20240212.0
sniper: 0.20240212.77547 sniper 0.20240212.77547
Kernel: Linux 5.15.0-100-generic #110-Ubuntu SMP Wed Feb 7 13:27:48 UTC 2024 x86_64
Language: LC_ALL None, LC_MESSAGES None, LC_CTYPE None
Effective WINEDEBUG: +timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree
======================
wineserver: /mnt/01D4670B74BF1CD0/Programme/SteamLibrary/steamapps/compatdata/945360/pfx is not owned by you
wine: '/mnt/01D4670B74BF1CD0/Programme/SteamLibrary/steamapps/compatdata/945360/pfx' is not owned by you

Workaround

The issue can be fixed by mounting the drive as your user by adding the following to the mount parameters in /etc/fstab:
uid=1000,gid=1000 (replace 1000 with your user/group-id)

Proposed solution

Wine should check if the user has proper permissions to access the folder instead of checking for ownership.

@kisak-valve
Copy link
Member

Hello @Her0brineCreeper, noted at https://github.com/ValveSoftware/steam-for-linux/blob/master/RelNotes.md#installation, sharing Steam library folders between OSes is not supported and can lead to undefined behavior.

Upstream wine does not allow wineprefixes to be owned by another system user to avoid an entire category of hard to diagnose issues and Proton inherits upstream's behavior. This specific issue is being tracked at ValveSoftware/Proton#4820.

Closing as a duplicate.

@kisak-valve kisak-valve closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
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