allow umask to handle permissions
This commit is contained in:
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>"
|
||||
|
||||
Reference in New Issue
Block a user