Closed wright-p closed 3 years ago
I've pushed a fix to master. Since the Steam client ignores inaccessible appmanifest files, it makes sense for Protontricks to do the same.
Thanks for the report.
Ubuntu 23.10, Steam Flatpak Install
The
`diff /usr/lib/python3/distribution-packages/protontricks/steam.py steam.py
except PermissionError: logger.warning( "Skipping file without permissions %s", path ) return None`
Is already contained in my steam.py and it still generates an error:
$protontricks --gui
protontricks (WARNING): Current Steam Runtime not recognized by Protontricks. /home/user/.cache/protontricks/proton/Proton Experimental/bin/bwrap-launcher: line 83: /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/run: Permission denied winetricks GUI enabled, using zenity 3.44.2
Is that related?
Describe the bug I use a custom version of proton, however Steam tries to install Proton 3.7 along with some games that are flagged to use that specific version. To prevent Steam from downloading that version of proton, I emptied its directory and changed its owner to root with my own user not having permission.
To Reproduce Steps to reproduce the behavior: I went into my
.local/share/Steam/steamapps
folder, and did:sudo chown root:root appmanifest_858280.acf
sudo chmod 600 appmanifest_858280.acf
sudo chown -R root:root common/Proton\ 3.7
sudo chmod 700 common/Proton\ 3.7
and then if I ran any protontricks command I would get aPermissionError
and protontricks would fail.Expected behavior protontricks should skip over files and directories without permission
System (please complete the following information):
If the error happens when trying to run a Protontricks command, run the command again using the
-v
flag and copy the output!I was able to get past this error by modifying
steam.py
as follows: