From 0bc273243e7df3ee58e23024efd0f4414d4c7ef5 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Tue, 14 Jul 2026 14:04:44 +0900 Subject: [PATCH] system-config: add umask parameter https://github.com/fluent/fluentd/pull/5390 Signed-off-by: Shizuo Fujita --- deployment/system-config.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/deployment/system-config.md b/deployment/system-config.md index f56de917..3a504ea4 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -162,6 +162,21 @@ Specifies the file permission in the octal format. Specifies the directory permission in the octal format. +### `umask` + +| type | default | version | +| :--- | :--- | :--- | +| string | nil | 1.20.0 | + +Specifies the umask in the octal format. +This is the configuration-file equivalent of the `--umask` command-line option. +If `--umask` is also given on the command line, the command-line value takes precedence. + +The `umask` affects the permission of files that Fluentd creates (such as buffer files). +Whether it applies to worker-created files depends on the run mode: +* `--no-supervisor` (standalone) or daemonized (`--daemon`): applied. +* Supervisor in the foreground (without `--daemon`): not applied. + ### `strict_config_value` | type | default | version |