dh4 / mupen64plus-qt

A customizable launcher for Mupen64Plus
BSD 3-Clause "New" or "Revised" License
95 stars 10 forks source link

emulation: fixing tempdir path #50

Closed angeloc closed 4 years ago

angeloc commented 4 years ago

In a multiuser environment, the program will crate a temporary folder structure like:

/tmp/mupen64plus-qt/user1/ /tmp/mupen64plus-qt/user2/

This is wrong, because user permission for the containing folder are the ones from the first user and any successive user will encounter an error accessing it.

This patch fixes the problem let the application creating a folder for each user like:

/tmp/mupen64plus-qt-user1/

dh4 commented 4 years ago

Merged. Thanks for this fix!