| diff -ru screen-4.9.0.orig/screen.c screen-4.9.0/screen.c |
| |
| |
| @@ -1145,9 +1145,11 @@ |
| /* if SOCKDIR is not defined, the socket is in $HOME. |
| in that case it does not make sense to compare uids. */ |
| |
| +#ifndef __midipix__ |
| if ((int)st.st_uid != real_uid) |
| Panic(0, "You are not the owner of %s.", SockPath); |
| #endif |
| +#endif |
| } |
| |
| if ((st.st_mode & 0777) != 0700) |