-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When on a multi-user server, if anyone else is using lazygit
they will own /tmp/lazygit
, which prevents a second user from running it.
To Reproduce
$ lazygit
2025/08/05 16:26:27 mkdir /tmp/lazygit/2643863687: permission denied
login-1$ ls -ld /tmp/lazygit
drwx------. 3 zaphod zaphod 60 Aug 4 14:23 /tmp/lazygit
Expected behavior
I expected the second user to be able to run lazygit
Version info:
lazygit --version
commit=, build date=, build source=nix, version=0.54.0, os=linux, arch=amd64, git version=2.39.3
Suggested fix
Use /tmp/lazygit-$USER
instead of the existing path, so multiple users can harmlessly co-exist.
hrzlgnm
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working