allow umask to handle permissions
This commit is contained in:
parent
8787f495e0
commit
d7e003a519
1 changed files with 1 additions and 1 deletions
2
stagit.c
2
stagit.c
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue