summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skaembutils/s6-mkdir.c')
-rw-r--r--src/skaembutils/s6-mkdir.c1
1 files changed, 1 insertions, 0 deletions
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) ;