Skip to content

Commit

Permalink
[7.17](backport #35257) [Docs] Update logging.files.permissions docum…
Browse files Browse the repository at this point in the history
…entation to consider umask (#35290)

(cherry picked from commit 7524a41)

Co-authored-by: Anderson Queiroz <[email protected]>
  • Loading branch information
mergify[bot] and AndersonQ authored May 3, 2023
1 parent bd9b888 commit 1ed3b8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/docs/filebeat-general-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ That means in case there are some states where the TTL expired, these are only r
The permissions mask to apply on registry data file. The default value is 0600. The permissions option must be a valid Unix-style file permissions mask expressed in octal notation. In Go, numbers in octal notation must start with 0.

The most permissive mask allowed is 0640. If a higher permissions mask is
specified via this setting, it will be subject to a umask of 0027.
specified via this setting, it will be subject to an umask of 0027.

This option is not supported on Windows.

Expand Down
5 changes: 5 additions & 0 deletions libbeat/docs/loggingconfig.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ The permissions mask to apply when rotating log files. The default value is
expressed in octal notation. In Go, numbers in octal notation must start with
'0'.

The most permissive mask allowed is 0640. If a higher permissions mask is
specified via this setting, it will be subject to an umask of 0027.

This option is not supported on Windows.

Examples:

* 0644: give read and write access to the file owner, and read access to all others.
Expand Down

0 comments on commit 1ed3b8a

Please sign in to comment.