ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

`Steamwebhelper` is deleting important tmpfiles of other programs. #11387

Closed Covkie closed 3 weeks ago

Covkie commented 3 weeks ago

Your system information

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.
mikela-valve commented 3 weeks ago

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