From d7e003a51924d1686574598f7db5557faf65000e Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 4 Sep 2017 18:14:52 +0200 Subject: [PATCH] allow umask to handle permissions --- stagit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stagit.c b/stagit.c index 3362fe5..4e046fd 100644 --- a/stagit.c +++ b/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("\n" "" -- libgit2 1.1.1
DateCommit message