allow umask to handle permissions

This commit is contained in:
Hiltjo Posthuma 2017-09-04 18:14:52 +02:00
parent 8787f495e0
commit d7e003a519

View file

@ -1094,7 +1094,7 @@ main(int argc, char *argv[])
/* log for HEAD */
fp = efopen("log.html", "w");
relpath = "";
mkdir("commit", 0755);
mkdir("commit", S_IRWXU | S_IRWXG | S_IRWXO);
writeheader(fp, "Log");
fputs("<table id=\"log\"><thead>\n<tr><td><b>Date</b></td>"
"<td><b>Commit message</b></td>"