removed umask(0);, let the old umask stay in place (fixes #547)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1026 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.11
parent
0b8de4b3ec
commit
fe8b467cc1
|
@ -118,8 +118,6 @@ static void daemonize(void) {
|
|||
if (0 != fork()) exit(0);
|
||||
|
||||
if (0 != chdir("/")) exit(0);
|
||||
|
||||
umask(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue