瀏覽代碼

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 年之前
父節點
當前提交
68f5097fd5
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. 0
    3
      unix/vncserver/vncsession.c

+ 0
- 3
unix/vncserver/vncsession.c 查看文件

@@ -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…
取消
儲存