protonscr

Games are being dowloaded with incorrect permissions to a mounted nfs share

protonclosed
ValveSoftware/Proton#3846 · opened 2020-05-08 by dodgypast · updated 2020-05-20 · 4 comments · github
Ddodgypast 2020-05-08 github

Your system information

  • Steam client version (build number or date):
    gscreenshot_2020-05-08-161031
  • Distribution (e.g. Arch):
  • Opted into Steam client beta?: [No]
  • Have you checked for system updates?: [Yes]

Please describe your issue in as much detail as possible:

When I try to run a game for the first time it cannot install the VC_Redists etc, it fails with the error:
wineserver: /MyMedia/Steam/steamapps/compatdata/1072500/pfx is not owned by you
If I run sudo chown -R duncanm /MyMedia/Steam it then works.
BUT
When I install another game to the same share it fails again and I have to rerun the permissions.

Steps for reproducing this issue:

  1. Mount an NFS share
  2. Download a game to the share
  3. Try and run the game
Kkisak-valve maintainer 2020-05-08 github

Hello @dodgypast, the wine prefix used by Proton is setup locally, and I suspect this is most likely an issue with how the filesystem is mounted. What are the mount options used with /MyMedia/Steam?

Ddodgypast 2020-05-08 github

Thanks for looking into this for me.

The fstab line is:
192.168.1.153:/mnt/user/MyMedia /MyMedia nfs defaults 0 0

I did dig around enoungh to know uid= doesn't work with nfs mounting.

Kkisak-valve maintainer 2020-05-08 github

Maybe the uid mapping on the server doesn't match the client? (https://unix.stackexchange.com/a/9474)

If this is the case, then it looks like you can make adjustments with /etc/nfs.map (https://stackoverflow.com/a/27769444)

Ddodgypast 2020-05-20 github

I've fixed it with the following in /etc/exports of the fileserver:
"/mnt/user/MyMedia" -async,no_subtree_check,fsid=100 (sec=sys,rw,insecure,all_squash,anongid=1000,anonuid=1000)

Nothing extracted yet.