-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(system): Add umask option to Fluentd system configuration
Previously, Fluentd users had to use the --umask command-line argument to set the umask, which was inconvenient for service deployments and containerized environments. This commit introduces a umask option in the Fluentd system configuration, allowing users to define umask directly within fluent.conf. Additionally, this commit fixes test cases related to umask handling: - The previous tests incorrectly asserted the expected umask values. - Adjusted tests to ensure that new file permissions are correctly applied according to the configured umask. - Added a test to verify that an invalid umask value raises the expected Fluent::ConfigError. Fixes #4816 Release Note: - Added umask option to Fluentd system configuration. Signed-off-by: kushynoda <[email protected]>
- Loading branch information
Showing
1 changed file
with
63 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters