protonscr

`Steamwebhelper` is deleting important tmpfiles of other programs.

steamclosed Web Component
ValveSoftware/steam-for-linux#11387 · opened 2024-10-26 by Covkie · updated 2024-10-29 · 1 comments · github
CCovkie 2024-10-26 github

Your system information

  • Steam client version (build number or date):

  • Distribution (e.g. Ubuntu): Arch, replicated in Ubuntu VM

  • Opted into Steam client beta?: No

  • Have you checked for system updates?: Yes

  • Steam Logs: steam-logs.tar.gz

  • GPU: Nvidia dGPU, AMD iGPU - Laptop system & VM

Please describe your issue in as much detail as possible:

On startup Steam deletes all instances of /tmp/scoped_dir*/SingletonCookie (breaking Electron apps which rely on instance locking.) even though said files are unrelated to the Steam process.
Auditd logs of steamwebhelper being the process responsible: https://gist.github.com/Covkie/5a81449a85b1f5679004b910e0dac8bf#file-steam_electron-audit-log-L11C169-L11C184

Related Electron issue: https://github.com/electron/electron/issues/43350

Steps for reproducing this issue:

  1. Open an electron app which utilizes instance locking
  2. Start Steam
  3. Rerun the command to open the electron app (either by terminal or executing the .desktop entry again)
  4. You will notice a second instance of the electron app is now open.
Mmikela-valve maintainer 2024-10-29 github

Thanks @Covkie. This will be fixed in the next Steam beta update.

Nothing extracted yet.