Multi-user PC, ownership issue under Wine

Started initial process 13847 from gamemoderun /home/ALICE/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/alle/windows/the-sims-vulcan/drive_c/Program Files (x86)/Maxis/The Sims/Sims.exe -r1024x768 -skip_intro
Start monitoring process.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: '/home/alle/windows/the-sims-vulcan' is not owned by you
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256

I’m Bob, I have admin.privileges
Alice is my daughter, she does not
/home/alle/windows is drwxrwxrwx recursively
(and /home/alle is accessible to all)
I can run The Sims without problems, but Alice can’t (See log above)

Is the problem actually that wine (wine-ge-8-26-x86_64) require that Alice OWNS the the-sims-vulcan folder? (because if I change the owership to her, she can run the sims, but not me)

How can this be solved without changing ownership? Is there another version of wine that doesn’t require ownership of a folder? The Sims folder is about 4GB, and I’m not interested in it taking up more space on my drive.

It’s not wine that requires ownership, its the system. What you are trying to do violates basic Linux principles. /home contains the directories of specific users, nothing else. They can be used by the user that owns them (and by root). Everything else will get blocked. I don’t know a way to change that and you should not try.

I see 4 possible solutions that keep basic Linux principles. I don’t know which one is best because I have no idea how Sims works and how you play it.

  1. sym link the Sims dir into each users home. I’m not sure that this will result in the correct permissions but you can test it.
  2. Put the Sims dir onto a separate partition and mount it into each users home with the appropriate permissions. umask can do that.
  3. Create a third user “Alle” that you both login to and install everything in there. If your system uses sudo: remove “Alle” from sudoers so that “Alle” cannot get root privileges. I understand that you are short on disk space. With this solution you can save several GB of Lutris wine runner files, especially if you use proton.
  4. Move the Sims dir to a place where the system expects system-wide installations, /opt would be the right place. Give necessary permissions to the “users” group and test.

Windows games are finicky so I’m not sure whether 1, 2, and 4 will work. 3 will definitely work.