commit 9d2866fca3e3de693e52a21d7274ba00f7acfdf9
parent d79f33d2026e12cbd696bc46434e717c05c0427e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 4 Sep 2017 18:14:20 +0200
allow umask to handle permissions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stagit-gopher.c b/stagit-gopher.c
@@ -1199,7 +1199,7 @@ main(int argc, char *argv[])
/* log for HEAD */
fp = efopen("log.gph", "w");
- mkdir("commit", 0755);
+ mkdir("commit", S_IRWXU | S_IRWXG | S_IRWXO);
writeheader(fp, "Log");
fprintf(fp, "%-16.16s ", "Date");