Skip to content

Commit

Permalink
Make the default umask a string
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Yedrikov <syedriko@redhat.com>
  • Loading branch information
syedriko committed Mar 18, 2022
1 parent 2036c4a commit 9f46a19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/fluent/command/fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
opts[:chgroup] = s
}

opts[:chumask] = 0
op.on('--umask UMASK', "change umask") {|s|
opts[:chumask] = s
}
Expand Down
1 change: 1 addition & 0 deletions lib/fluent/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9f46a19

Please sign in to comment.