aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-07-13 07:04:17 +0000
committernicm <nicm>2020-07-13 07:04:17 +0000
commitf26b7b7788bdeea4d523ac1699b845350165644e (patch)
tree55355290aabf1afdea3a00d39aa0659655d66159
parent2aa177d102b573e5802f69885e738e554d350e7e (diff)
downloadrtmux-f26b7b7788bdeea4d523ac1699b845350165644e.tar.gz
rtmux-f26b7b7788bdeea4d523ac1699b845350165644e.tar.bz2
rtmux-f26b7b7788bdeea4d523ac1699b845350165644e.zip
Clarify /tmp permissions and use, GitHub issue 2300.
-rw-r--r--tmux.113
1 files 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