mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-02-20 01:02:29 +08:00
In 3a9dbf7341f0 we created a global /tmp/lazygit/ folder that contains the temp directories of each running instance, to avoid polluting /tmp with multiple folders. The problem with that approach was that the folder was created with 700 permissions, so if multiple users were using lazygit on the same machine (e.g. a server), all users except the first one would get fatal errors on startup. Fix this by creating temp folders containing the user's uid.