branch | stable |
changeset 34924 | bfcd0d227972 |
parent 32617 | e48cb1c7a902 |
child 37119 | d4a2e0d5d042 |
--- a/mercurial/server.py Mon Oct 23 22:13:59 2017 -0500 +++ b/mercurial/server.py Wed Oct 25 21:20:01 2017 +0900 @@ -93,7 +93,8 @@ nullfd = os.open(os.devnull, os.O_RDWR) logfilefd = nullfd if logfile: - logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND) + logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND, + 0o666) os.dup2(nullfd, 0) os.dup2(logfilefd, 1) os.dup2(logfilefd, 2)