Browse Source

Remove incorrect umask change

Not sure why this got in there, but it is incorrect as it results in
creating files with too liberal permissions.
tags/v1.11.90
Pierre Ossman 3 years ago
parent
commit
68f5097fd5
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      unix/vncserver/vncsession.c

+ 0
- 3
unix/vncserver/vncsession.c View File

@@ -117,9 +117,6 @@ begin_daemon(void)
if (devnull > 2)
close(devnull);

/* Full control of access bits */
umask(0);

/* A safe working directory */
if (chdir("/") < 0) {
perror("chdir");

Loading…
Cancel
Save