Skip to content

Proton not working when multiple Linux users share a single installation path #4820

Open

Description

@Maykin-99

I've followed these instructions on Reddit to allow multiple Linux users to share the same installation folder without dealing with permission issues. That seems to work so far for Linux-native games.

The issue with Proton games is that Wine does not allow using a Wine-Prefix that doesn't belong to the current user.

Example:

Both Steam clients on both Linux accounts are configured to download the games in /opt/games/Steam.

User maykin installs a Windows game and a Wineprefix in /opt/games/Steam/steamapps/compatdata/430190/pfx is created.

User steamuser wants to play the same game.
It does not need to install the game again, since maykin already installed it.
When attempting to start the game nothing happens (no game & no error message).
When inspecting the logs the following error occur:

Installing breakpad exception handler for appid(steam)/version(1618256785)
Proton: Upgrading prefix from 5.13-1 to 6.3-2 (/opt/games/Steam/steamapps/compatdata/430190/)
Proton: Removing stale builtin /opt/games/Steam/steamapps/compatdata/430190/pfx//drive_c/windows/system32/amd_ags_x64.dll
Proton: Removing stale builtin /opt/games/Steam/steamapps/compatdata/430190/pfx//drive_c/windows/syswow64/amd_ags_x64.dll
wine: '/opt/games/Steam/steamapps/compatdata/430190/pfx' is not owned by you
wine: '/opt/games/Steam/steamapps/compatdata/430190/pfx' is not owned by you
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
wineserver: /opt/games/Steam/steamapps/compatdata/430190/pfx is not owned by you
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/steamuser/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: '/opt/games/Steam/steamapps/compatdata/430190/pfx' is not owned by you

The relevant part is (so I assume) wine(server): /opt/games/Steam/steamapps/compatdata/430190/pfx is not owned by you.

The directory is owned by maykin but steamuser has read and write access to it but Wine - for security reasons apparently - doesn't care and demands that the prefix is owned by the current user, i.e. steamuser.

My suggestion:

  1. Create a new prefix per user:
    Instead of creating the prefix here: /opt/games/Steam/steamapps/compatdata/<gameid>/pfx we could place it there: /opt/games/Steam/steamapps/compatdata/<gameid>/pfx/<userid>
  2. Use symbolic links so that all prefixes share the same data:
    Put the device_c in a separate directory outside the prefix, e.g. in /opt/games/Steam/steamapps/compatdata/<gameid>/data, and place a symbolic link in /opt/games/Steam/steamapps/compatdata/<gameid>/pfx/<userid/device_c that points to the data directory

Activity

  1. kisak-valve commented on May 13, 2021

    @kisak-valve
    Member

    Hello @Maykin-99, upstream wine does not allow the wine prefix to be being owned by another user to prevent an entire category of problems. Proton inherits this behavior and ideally, your issue would need to be evaluated and resolved upstream with vanilla wine before looking at it here.

  2. aeikum commented on May 13, 2021

    @aeikum
    Contributor

    I'm pretty sure this is a Steam client limitation more than anything else. You're not intended to share Steam Library folders between users. Some applications do stupid things like write files directly into the Library folders, which can fail with multiple users.

  3. Maykin-99 commented on May 13, 2021

    @Maykin-99
    Author

    @kisak-valve: I'm sure Wine does what it does for a good reason. In fact, if we look into their forum it states "Risk of of registry corruption" as the reason: Link

    In the same post it also suggests creating a wine prefix for each user and store the data outside of it:

    If you just want to save space, you can install apps to a single directory shared by multiple users outside their wineprefixes. You will have to run the installer for each user to create the needed registry entries for each, but just point the installer to the shared directory instead of accepting the default in Program Files when it asks where you want to install the app to. Make sure all users have read/write permissions for that directory.

    So I simply ask Valve to follow their advice.

    @aeikum

    I'm pretty sure this is a Steam client limitation more than anything else.

    I'm honestly not sure which piece of software (Steam Client vs. Proton) is configuring wineprefix. I'll reference this issue in the steam-for-linux repository.

    You're not intended to share Steam Library folders between users.

    I disagree. It works in Windows and I expect it to work in Linux as well.

    Some applications do stupid things like write files directly into the Library folders, which can fail with multiple users.

    Though in my experience this only causes that save games & configurations are shared unintendedly. And I don't expect Valve to fix game developer's "stupid things".

  4. added a commit that references this issue on May 26, 2021
    851d807
  5. EgorIII commented on Mar 25, 2023

    @EgorIII

    i've spend evening trying to launch game on my notebook for my friend to get to this issue.

    Can we at least for now have some proper error pop up?

    Cause right now if you try to do that steam will do funny: button is blue cause game is running, oh and now button is green to launch it again like nothing happened whatsoever, and even error text in console does not provide that much information, cause i was setting that share library permission to all kinds of stuff.

  6. geoffryan commented on Mar 23, 2024

    @geoffryan

    Just adding a voice to the chorus, it would be lovely if this could be fixed. We have a single Linux computer shared by the household. Games are massive, so we install them to a shared directory and use Family Sharing to share the games, but of course run into this proton permissions issue. I don't see the point of local family sharing if you still have to install games per-user.

  7. jessecambon commented on Apr 9, 2024

    @jessecambon

    Also wanted to add that this would be a really useful addition. I am trying to share a game library between an admin account that is meant for regular PC use and a passwordless account that is meant to be used via controller in front of a TV (ie. console-style experience). I've tried a number of different solutions, but haven't found a way to get past the "compatdata is not owned by you" error.

  8. sworthiness commented on Apr 14, 2024

    @sworthiness

    Agreed - this is stopping me sharing my games with my kids with their own accounts
    Would love for this to get resolved

  9. I-Am-Xil commented on Aug 17, 2024

    @I-Am-Xil

    Yet another comment to this 3 year old thread. Other people in my household can't play games run with proton without granting access to the sys admin user, which not only becomes an inconvenience, but also a privacy and security concern since it would mean giving other people access to first of all a personal user, but also to possibly a sudoer. This would also help mimic native games behavior.

    Giving an option to grant access based on group rather than user ownership is the way to go forward with this issue.

  10. ChrisBoomhower commented on Aug 19, 2024

    @ChrisBoomhower

    Yep, I'm in the same boat as others. I'd love to see this resolved for the same reasons.

  11. couchsweetpotato commented on Aug 28, 2024

    @couchsweetpotato

    Same here, my partner and I share the "gaming pc", and we don't have enough storage to install 100+GB like BD3 or FO76 twice, I understand the limitations because of how privileges work in Linux, but games are getting bigger and bigger, and it's not viable to install things twice anymore.

    To me (not a programmer) this approach seems pretty clean and I´d like to think that its possible using symlinks for the game data while keeping the prefixes in the home folders.

    I read somewhere while looking for a solution for this that sharing the installation folder would mean having to share game settings between users, but afaik that isn't true for pretty much every modern game. And when it comes to older games saving confs in the installation folder, I wouldn't consider that to be a problem because that's the intended behavior and would work in windows just the same.

  12. BigBrawler commented on Sep 2, 2024

    @BigBrawler

    I would like to see this too.

  13. etyarews commented on Sep 8, 2024

    @etyarews

    I just want /compatdata to be independent of the library. Most games save to /compatdata and this would prevent save files being shared, as weel as the issues with permission. I don't see any drawback.

    Heck, this PR fixes all the issues with the current implementation.

  14. kamichal commented on Sep 21, 2024

    @kamichal

    Currently facing the same issue. My kids and I finally got a super-duper gaming PC, I'm a linux pro user for over 10 years, did my best to give the shared permissions to the games storage directory, but this still raises permission issues.

    No CS today, no CS tomorrow. Why are you doing it to us? It's a torture. And my son asks me if somebody better skilled than me can solve it.. Please fix it

  15. etyarews commented on Sep 21, 2024

    @etyarews

    @kamichal you can do some really cursed thing where the shared library compatdata is mounted to a compatdata inside each user during log-in

    It is not the proper fix, but could help you and your family

  16. 18 remaining items

  17. meysq commented on Oct 22, 2025

    @meysq

    Also requesting this - this is the only blocker keeping me from using Linux for gaming.

  18. gillius commented on Oct 22, 2025

    @gillius

    While I think sharing is a huge feature to move to Linux, and I've been using the technique described earlier, there might be a "better" way, and that is to use a filesystem like btrfs which supports de-duplication so that even though Steam creates the files many times, the physical disk space used is not more. Has anyone tried this as a workaround? It still seems that in this case there are some limitations:

    • You'll have to download the software once per user
    • The de-duplication process seems to not be instant, therefore you need appropriate empty space to download then space is reclaimed by the background de-dupe over time

    I have a Windows 10 machine that is used as a kids gaming machine with 3 users that can't upgrade to Windows 11. The workaround discussed earlier is hard to set up and is quirky especially with Proton runtimes, but I'm using it today on my Kubuntu desktop. My thought is to try CachyOS with btrfs to mitigate the triple Steam client and game install duplication. I have gigabit fiber so I can tolerate the triple download issue. And if it works, switch from Kubuntu to CachyOS on my main machine.

    Has anyone tried this in practice and does it work effectively? Trying it out unfortunately is a sort of one-way street as I don't have enough space to dual boot that Win 10 machine.

  19. etyarews commented on Oct 25, 2025

    @etyarews

    @gillius

    No, that doesn't work. Deduplication on BTRFS is done manually, after you already have files. This is called out-of-band/offline deduplication.

    This means that you need to write multiple times to the disk, you are wasting the lifespan of the device significantly. And you always need to keep an available space of the size of the biggest game you own, probably double of that.

    Furthermore, the deduplication process isn't instant, not only do you need to keep doing it occasionally, but you can't really automate it, for fear that it might trigger when you don't want. Depending on how much you need to dedup your system will temporarily struggle a bit.

    I recommend doing Deduplication anyway because it saves a huge amount of space on proton prefixes/compatdata. You could also dedup your /home across users and the space saved will be significant. I've done it and it saved 40gb.

    But I do not recommend using dedup as a way to bypass Steam Library limitations

  20. gillius commented on Oct 25, 2025

    @gillius

    @etyarews yes, I understand the dedupe is not instant, the data will be written once then space will reclaim over time. What I've been reading is some methods can do the dedupe incrementally. And you are saying I might not be happy with the load that puts on the system, so I might have to experiment with that. Large games are installed rarely (like monthly or less), so I may still get away with manual dedupe.

    I also understand that an amount of free space equal to the largest game to be installed is required. But I have 512 GB SSD, let's say games are about 50 GB each, so we all want to play the game, it will write 150GB to disk but it will over time reduce to 50GB (approx, because there will be some deltas in compatdata for save games). That's still a 100GB savings even though I needed 150GB temporarily.

    I'm not too worried about the write load. It's a shame to write an additional 50GB, but SSD endurance is in 100s or 1000s GB/day ratings and a gaming machine is way more read driven and not a write heavy workload like server or database.

    The biggest problem I have with the symlinks is that it just seems to be too brittle, Steam doesn't always like to install the runtimes in the shared library and sometimes if it does I get errors revolving around file ownership even if I use sticky bits. It also doesn't handle if a user locks screen and another user logs in and starts up Steam, now there are two instances in the same folder and if it tries any updates it can cause issues. I'm not sure I understand all of the cases, and maybe it's fixable, but it's definitely not stable. The thought on BTRFS dedupe is that from a process perspective, everyone has their own disk, so it's "guaranteed" to function "normally", with the drawbacks mentioned, plus what you mentioned:

    • Wasted network bandwidth
    • Need to keep extra available space to install a game "already installed"; dedupe is not instant
    • System load may be unacceptable while dedupe runs / might not want to schedule automatically

    I don't know much about subvolumes yet, if that can mitigate some of the issue with dedupe so you don't have to scan the whole FS.

    Even with the limitations, it still seems like it's worth a try over the symlink method. Obviously, I agree the best solution is for Steam to fix this so it works at least as well as Windows, but until that happens.... That's another concern with the symlink method is if Steam updates things, if it will break anything.

    What is your recommendation then @etyarews? You still prefer the symlink approaches over dedupe even despite the limitations documented already in this thread?

  21. etyarews commented on Oct 25, 2025

    @etyarews

    @gillius The issue is that you need to have the free space of at least double the game you want to install.

    Let's say you have 3 users and want to install a 50gb game, but you only have 100gb of free storage on your 512gb drive: You install the game on User1, install on User2, and it all "took" 100gb of space. Do the dedupe and you gain back 50gb now. You install on user3, and it took another 50gb, you dedupe again, and you gain 50gb again.

    Overall you now have 50gb of free storage, but the biggest game you can install is 25gb at most, otherwise you cannot install the same game to other users because dedupe requires a copy to be existing before it dedupes.

    I do use the symlink approach and haven't got any issue whatsoever. Each user has three steam libraries:

    /home/USER1/.local/share/steam - Default Steam Install, Proton and Steam Runtimes are installed here
    /games/USER1/Personal - Sorta of a personal stash of games, it's usually used for games where one user wants certain mods, but another doesn't. Each one have their own copy with different mods.
    /games/USER1/Shared - This is the one with heavy symlinks

    Alright, so let's look at /games/USER1/Shared: It has the usual steamapps folder, let's see how it works we see how it works:

    /games/USER1/Shared/steamapps/common -> /games/SHARED LIBRARY/Steam/steamapps/common
    /games/USER1/Shared/steamapps/downloading -> /games/SHARED LIBRARY/Steam/steamapps/downloading
    /games/USER1/Shared/steamapps/shadercache -> /games/SHARED LIBRARY/Steam/steamapps/shadercache
    /games/USER1/Shared/steamapps/temp -> /games/SHARED LIBRARY/Steam/steamapps/temp
    /games/USER1/Shared/steamapps/compatdata -> /games/USER1/Personal/steamapps/compatdata

    Every folder is being symlinked to the respective SHARED LIBRARY folder. Except compatdata, that one is symlinked to their Personal library /games/USER1/Personal

    Now, on the /games/USER1/Personal/steampps folder, we only have two symlinks:

    /games/USER1/Personal/steamapps/downloading -> /games/SHARED LIBRARY/Steam/steamapps/downloading
    /games/USER1/Personal/steamapps/shadercache -> /games/SHARED LIBRARY/Steam/steamapps/shadercache

    downloading and shadercache are symlinked to the shared library, so all users have the same shadercache and downloading status, which should at least keep Steam from downloading the same game twice, and should help the madness that is shadercache from going out of control (it still goes out of control).

    Now, here's the problem: The entire /games folder and subfolders need to have permissions for all users, including new files. I did that by adding all users to a group called gamers and setting it up like so:

    sudo chown -R root:gamers /games
    sudo setfacl -R -m g:gamers:rwx /games
    sudo setfacl -R -m mask::rwx /games
    sudo setfacl -R -d -m g:gamers:rwx /games
    sudo setfacl -R -d -m mask::rwx /games

    However, wine really wants the prefixes to be owned by the person who is executing it, so you need to make it so that each compatdata is owned by a specific user, basically you need to undo what you've done on the previous step on only the compatdata folder.

    sudo chown -R user1:user1 /games/USER1/Personal/steamapps/compatdata
    sudo setfacl -b -R /games/USER1/Personal/steamapps/compatdata
    sudo setfacl -m d:group::--- /games/USER1/Personal/steamapps/compatdata

    sudo chown -R user2:user2 /games/USER2/Personal/steamapps/compatdata
    sudo setfacl -b -R /games/USER2/Personal/steamapps/compatdata
    sudo setfacl -m d:group::--- /games/USER2/Personal/steamapps/compatdata

    sudo chown -R user3:user3 /games/USER3/Personal/steamapps/compatdata
    sudo setfacl -b -R /games/USER3/Personal/steamapps/compatdata
    sudo setfacl -m d:group::--- /games/USER3/Personal/steamapps/compatdata

    I barely understand permissions and I pretty much only have a vague understanding of what each command is doing, but hey, it works. I do recommend you writing this list of commands down because if you ever needed to copy a compatdata folder to another user, you need to re-run all of this

  22. gillius commented on Oct 27, 2025

    @gillius

    @etyarews thanks for that, I will have to consider it when moving the new system over. Right now I only try sharing the common folder. And I've used sticky bit and not used setfacl. Like you I also faced issues with Wine wanting the prefixes owned by the executing user.

  23. kookiebiz commented on Jul 1, 2026

    @kookiebiz

    This was my biggest hurdle when ditching Windows and moving over to Linux. I found it most practical to format a disk as btrfs, then use bees for deduplication. Current solution is working really, really well once I throttled it right down. I just wrote up a quick guide.

    I tried messing around with symlinking off the game files and leaving compatdata but always ran into issues managing game installs and updates across all the users.

  24. Snowman3456 commented on Aug 12, 2026

    @Snowman3456

    Why is this not solved already???

    Please tell me why I am dumb in assuming the obvious answer is to just have the compatdata NOT SAVED IN THE SHARED DRIVE SPACE, and instead SAVED IN THE USER HOME DIRECTORY, regardless of where the game is installed. Make it a setting or option if needed so anyone complaining has the choice.

    Just make this happen already, seriously - the number of absurd overly complicated workarounds floating around is straight bonkers!

    It is absolutely insane to me that this level of manipulation and set up would be needed for what should be assumed to 'just work', and does on Windows.

    https://github.com/thojo0/steam-multiuser-compatdata-fix

  25. rugk commented on Aug 25, 2026

    @rugk

    . I found it most practical to format a disk as btrfs, then use bees for deduplication. Current solution is working really, really well once I throttled it right down. I just wrote up a quick guide.

    For reference: This is the guide that solves this using btrfs.

    And another backlink (especially for all users using Bazzite – an Atomic distro specifically made for gaming): here the "same" thread about the same issue. (Current Bazzite docs part about this)

  26. kookiebiz commented on Aug 26, 2026

    @kookiebiz

    . I found it most practical to format a disk as btrfs, then use bees for deduplication. Current solution is working really, really well once I throttled it right down. I just wrote up a quick guide.

    For reference: This is the guide that solves this using btrfs.

    And another backlink (especially for all users using Bazzite – an Atomic distro specifically made for gaming): here the "same" thread about the same issue. (Current Bazzite docs part about this)

    Thanks for adding my link. When I tried my message got marked as spam and deleted. I'm no expert but I hope it helps.

  27. etyarews commented on Aug 28, 2026

    @etyarews

    It has been 5 years since this issue was first reported here. This is a significant road blocker for the adoption of Linux on multi-user setups.

    Even on setups where there are multiple Steam users but a single Linux user, like the Steam Machine and Deck, this decision causes trouble as save data ends up being shared between them.

    A very easy solution would be for Proton to just separate compatdata by Steam User IDs.

  28. Snowman3456 commented on Aug 28, 2026

    @Snowman3456

    . I found it most practical to format a disk as btrfs, then use bees for deduplication. Current solution is working really, really well once I throttled it right down. I just wrote up a quick guide.

    For reference: This is the guide that solves this using btrfs.

    And another backlink (especially for all users using Bazzite – an Atomic distro specifically made for gaming): here the "same" thread about the same issue. (Current Bazzite docs part about this)

    This falls squarely in the "absurd overly complicated workarounds" territory. Easily argued to not actually solve anything but sidestep the issue.

    This is a Steam problem, not a filesystem configuration & management problem. Or if pulling hairs, a wine problem that steam adopted. Either way Steam needs to fix it.

  29. etyarews commented on Aug 28, 2026

    @etyarews

    BTRFS deduplication is not a solution:

    1. It is offline, it is done after the space is already taken. You might have 200GB of storage free, but if you want to download a 120gb game, you cannot do it with dedup, as it needs to download two copies of the game (240gb in this example) before it shrinks to 120gb due to dedup
    2. If you have a bunch of files that need to be dedup, the system might struggle for a couple of seconds while it tries to figure out what to do, so it really shouldn't be done automatically.

    I will heavily disagree with @kisak-valve : This is not a wine issue per se. Even if wine allowed prefix data to be shared between different users, the issue would remain that Steam/Valve/Proton is writing data to the Steam Library without a per-user solution, even if fixed upstream, this would mean that save data is shared between users. Yes, separating compatdata would officially increase the storage taken by Steam, and it would mean game configuration data would need to be redone on each user account, but it would bring a more streamlined "Console-like" experience where save data is not shared. Right now the save data separation is up to the developer, or for the Steam Cloud, which is not ideal and can have issues.

    The decision to store prefixes on the library without even a separation between users causes so many troubles and issues that it is unbelievable how the severity of this issue hasn't been more acknowledged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions