From 9f46a193310e8e9609bba39caddd5d8d9b350ede Mon Sep 17 00:00:00 2001 From: Sergey Yedrikov Date: Fri, 18 Mar 2022 00:00:01 -0400 Subject: [PATCH] Make the default umask a string Signed-off-by: Sergey Yedrikov --- lib/fluent/command/fluentd.rb | 1 - lib/fluent/supervisor.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fluent/command/fluentd.rb b/lib/fluent/command/fluentd.rb index ed1ad22123..2b2d229a01 100644 --- a/lib/fluent/command/fluentd.rb +++ b/lib/fluent/command/fluentd.rb @@ -81,7 +81,6 @@ opts[:chgroup] = s } -opts[:chumask] = 0 op.on('--umask UMASK', "change umask") {|s| opts[:chumask] = s } diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index 819877e3a4..4c57048809 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -566,6 +566,7 @@ def self.default_options setup_path: nil, chuser: nil, chgroup: nil, + chumask: "0", root_dir: nil, suppress_interval: 0, suppress_repeated_stacktrace: true,