Skip to content

Commit

Permalink
allow umask to handle permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltjo committed Sep 4, 2017
1 parent 8787f49 commit d7e003a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stagit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand Down

0 comments on commit d7e003a

Please sign in to comment.