diff --git tmux.c tmux.c
index 62f8a80..d8ed280 100644
--- tmux.c
+++ tmux.c
@@ -149,7 +149,11 @@ makesocketpath(const char *label)
 		errno = ENOTDIR;
 		return (NULL);
 	}
+#ifdef __MSYS__
+	if (sb.st_uid != uid) {
+#else /* __MSYS__ */
 	if (sb.st_uid != uid || (sb.st_mode & S_IRWXO) != 0) {
+#endif /* __MSYS__ */
 		errno = EACCES;
 		return (NULL);
 	}
