allow umask to handle permissions
This commit is contained in:
parent
8787f495e0
commit
d7e003a519
2
stagit.c
2
stagit.c
|
@ -1094,7 +1094,7 @@ main(int argc, char *argv[])
|
||||||
/* log for HEAD */
|
/* log for HEAD */
|
||||||
fp = efopen("log.html", "w");
|
fp = efopen("log.html", "w");
|
||||||
relpath = "";
|
relpath = "";
|
||||||
mkdir("commit", 0755);
|
mkdir("commit", S_IRWXU | S_IRWXG | S_IRWXO);
|
||||||
writeheader(fp, "Log");
|
writeheader(fp, "Log");
|
||||||
fputs("<table id=\"log\"><thead>\n<tr><td><b>Date</b></td>"
|
fputs("<table id=\"log\"><thead>\n<tr><td><b>Date</b></td>"
|
||||||
"<td><b>Commit message</b></td>"
|
"<td><b>Commit message</b></td>"
|
||||||
|
|
Loading…
Reference in a new issue