From 5ec3d10003149e65e2c9700cf9dbe5546e66ea8c Mon Sep 17 00:00:00 2001 From: Antoine Amarilli Date: Sun, 23 Dec 2018 11:33:41 +0100 Subject: [PATCH] create folders with mode 0755 when building When the user has a umask such as 022, the generated Makefile created folders without setting their permissions, making them readable only by root. Adding explicit permissions to mkdir fixes this problem. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 272ea6a..b585f22 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,8 @@ AC_PROG_MAKE_SET AC_CANONICAL_HOST +MKDIR_P="mkdir -m 0755 -p" + AC_ARG_ENABLE(threading, AS_HELP_STRING([--enable-threading], [Enable code to support partly multi-threaded use]),