You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zellij --version: 0.37.2 stty size: 52 140 uname -av or ver(Windows): Linux pontus 4.19.123-feral #2 SMP Mon May 18 09:01:14 BST 2020 x86_64 GNU/Linux
Further information
I noticed when editing the scrollback, via search -> e, a file ending in .dump is created in /tmp and opened in the editor. However, when quitting the editor, the file stays around. Shouldn't it be deleted once the editor exits? I'm on a shared host. The file is not readable by others, which is good (though hopefully not dependent on umask).
The text was updated successfully, but these errors were encountered:
Unfortunately this seems to honor umask, making the scrollback fully readable in /tmp:
valankar@pontus ~> ls -l /tmp |grep valank (base)
-rw-r--r-- 1 valankar valankar 655 Aug 3 13:31 d45f5562-eeb7-4095-bf94-83de979a3ae7.dump
-rw-r--r-- 1 valankar valankar 799 Aug 3 13:30 e5e0d39a-564b-4e8b-87ae-ea83ef05eea3.dump
I suggest if not auto-deleting, to force the permissions to be unreadable by others. Otherwise there is a lot of information other users can get from these files.
valankar
changed the title
Scrollback editing leaves files in /tmp
Scrollback editing leaving possibly world-readable files in /tmp
Aug 3, 2023
Basic information
zellij --version
: 0.37.2stty size
: 52 140uname -av
orver
(Windows): Linux pontus 4.19.123-feral #2 SMP Mon May 18 09:01:14 BST 2020 x86_64 GNU/LinuxFurther information
I noticed when editing the scrollback, via search -> e, a file ending in
.dump
is created in /tmp and opened in the editor. However, when quitting the editor, the file stays around. Shouldn't it be deleted once the editor exits? I'm on a shared host. The file is not readable by others, which is good (though hopefully not dependent on umask).The text was updated successfully, but these errors were encountered: