Pārlūkot izejas kodu

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 pirms 3 gadiem
vecāks
revīzija
68f5097fd5
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0
    3
      unix/vncserver/vncsession.c

+ 0
- 3
unix/vncserver/vncsession.c Parādīt failu

@@ -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");

Notiek ielāde…
Atcelt
Saglabāt