Skip to content

Commit

Permalink
update logging.files.permissions documentation to consider umask (#35257
Browse files Browse the repository at this point in the history
) (#35293)

(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 0507603 commit 55100d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filebeat/docs/filebeat-general-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ 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 an umask of 0027.

This option is not supported on Windows.

Examples:
Expand Down
3 changes: 3 additions & 0 deletions libbeat/docs/loggingconfig.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ 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:
Expand Down

0 comments on commit 55100d1

Please sign in to comment.