1
1

* we really shouldn't be setting umask(0), since that's going to make files

world writable by default.  We shouldn't be setting the umask, period, unless
  we restore it before we fork off the user's process.  Since we don't have a
  way of doing that now, just leave the umask alone.

  This should go to the v1.0 branch

This commit was SVN r8935.
Этот коммит содержится в:
Brian Barrett 2006-02-08 16:18:15 +00:00
родитель 0775c88a9b
Коммит 6bf7567639

Просмотреть файл

@ -59,8 +59,6 @@ int opal_daemon_init(char *working_dir)
chdir(working_dir); /* change working directory */
}
umask(0); /* clear file mode creation mask */
/* connect input to /dev/null */
fd = open("/dev/null", O_RDONLY);
if(fd > STDIN_FILENO) {