From f26b7b7788bdeea4d523ac1699b845350165644e Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 13 Jul 2020 07:04:17 +0000 Subject: [PATCH] Clarify /tmp permissions and use, GitHub issue 2300. --- tmux.1 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tmux.1 b/tmux.1 index 1c02bdda..77cb3c56 100644 --- a/tmux.1 +++ b/tmux.1 @@ -169,8 +169,17 @@ independent servers to be run. Unlike .Fl S -a full path is not necessary: the sockets are all created in the same -directory. +a full path is not necessary: the sockets are all created in a directory +.Pa tmux-UID +under the directory given by +.Ev TMUX_TMPDIR +or in +.Pa /tmp . +The +.Pa tmux-UID +directory is created by +.Nm +and must not be world readable, writable or executable. .Pp If the socket is accidentally removed, the .Dv SIGUSR1