allow umask to handle permissions - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 9d2866fca3e3de693e52a21d7274ba00f7acfdf9 | |
parent d79f33d2026e12cbd696bc46434e717c05c0427e | |
Author: Hiltjo Posthuma | |
Date: Mon, 4 Sep 2017 18:14:20 +0200 allow umask to handle permissions Diffstat: M stagit-gopher.c | 2 +- 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"); |