1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
nicm e4dc1568ce Don't treat TMUX_TMPDIR as a potential file
The point of setting TMUX_TMPDIR is to then make any labels from -L go
to that directory.  In the case of makesocketpath() with no TMUX_TMPDIR
set, would set both the path and the default socket to a file.  The
checking of the permissions on the file worked fine in that case, but
when TMUX_TMPDIR is set, won't work on a directory.

This fixes the problem by ensuring the check on the permissions is
performed on directories only.

By Thomas Adam.
2013-10-10 12:03:22 +00:00
2013-03-25 10:06:13 +00:00
2013-04-11 21:52:18 +00:00
2013-03-25 11:44:00 +00:00
2013-10-10 11:50:36 +00:00
2013-10-10 12:01:14 +00:00
2013-04-17 08:41:41 +00:00
2013-07-05 14:44:06 +00:00
2013-04-24 10:01:32 +00:00
2013-07-05 14:44:06 +00:00
2013-10-10 11:50:20 +00:00
Description
No description provided
17 MiB
Languages
C 90.8%
Roff 6.9%
M4 0.9%
Awk 0.6%
Makefile 0.4%
Other 0.3%