Skip to content

buf_file, buf_file_single: document file_permission and dir_permission - #664

Merged
kenhys merged 1 commit into
fluent:1.0from
Watson1978:docs-buffer-file-permissions
Aug 4, 2026
Merged

buf_file, buf_file_single: document file_permission and dir_permission#664
kenhys merged 1 commit into
fluent:1.0from
Watson1978:docs-buffer-file-permissions

Conversation

@Watson1978

@Watson1978 Watson1978 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Both buffer plugins accept file_permission and dir_permission, but neither parameter was described in the documentation.

The description follows the desc strings declared in buf_file_single.rb and the fallback chain implemented in both plugins: the plugin parameter takes precedence, then the <system> setting, then 0644 / 0755.

Both buffer plugins accept `file_permission` and `dir_permission`, but
neither parameter was described in the documentation.

* `buf_file`: introduced by fluentd 2612e9f8 (buf_file2.rb, released in
  v0.14.0), renamed to buf_file.rb by 7ee586c6.
* `buf_file_single`: introduced by fluentd dac13f04, released in v1.7.0.

The description follows the `desc` strings declared in buf_file_single.rb
and the fallback chain implemented in both plugins: the plugin parameter
takes precedence, then the `<system>` setting, then 0644 / 0755.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978
Watson1978 requested a review from kenhys August 4, 2026 06:36
@kenhys
kenhys merged commit a18fc18 into fluent:1.0 Aug 4, 2026
2 checks passed
@Watson1978
Watson1978 deleted the docs-buffer-file-permissions branch August 5, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants