From a383b1e1a3586d79e494834fb7d2c646c8e7ee08 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 31 May 2020 23:52:06 +0000 Subject: s6-mkdir: fix wrong umask --- src/skaembutils/s6-mkdir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skaembutils/s6-mkdir.c b/src/skaembutils/s6-mkdir.c index 2a8fc74..352669a 100644 --- a/src/skaembutils/s6-mkdir.c +++ b/src/skaembutils/s6-mkdir.c @@ -71,6 +71,7 @@ int main (int argc, char const *const *argv) } argc -= l.ind ; argv += l.ind ; } + umask(0) ; for ( ; *argv ; argv++) e |= parents ? doparents(*argv, mode, verbose) : doit(*argv, mode, verbose, 1) ; -- cgit v1.2.3