diff options
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index e01f08c..189eed9 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -52,6 +52,7 @@ int send_remote_cmd(char *cmd, int query, int wait) { FILE *in = NULL; if (client_connect_file) { + umask(077); in = fopen(client_connect_file, "w"); if (in == NULL) { fprintf(stderr, "send_remote_cmd: could not open " |