Explorar el Código

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 hace 3 años
padre
commit
68f5097fd5
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0
    3
      unix/vncserver/vncsession.c

+ 0
- 3
unix/vncserver/vncsession.c Ver fichero

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

Cargando…
Cancelar
Guardar