summaryrefslogtreecommitdiff
path: root/src/uaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uaccess.c')
-rw-r--r--src/uaccess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uaccess.c b/src/uaccess.c
index 786f0ef641..49ac4af0f4 100644
--- a/src/uaccess.c
+++ b/src/uaccess.c
@@ -38,6 +38,8 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (argc < 2 || argc > 3) {
log_error("This program expects one or two arguments.");
r = -EINVAL;