-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Update logging.files.permissions documentation to consider umask #20584
Comments
Pinging @elastic/integrations-services (Team:Services) |
Pinging @elastic/obs-docs (Team:Docs) |
Adding a +1 here since the missing info in the docs can lead to lots of confusion currently. |
I hit this, for me is weird that you can set permissions on a parameter and those permissions will not be applied as configured, if I set |
A customer hit the issue. |
Pinging @elastic/agent (Team:Agent) |
I too have hit this problem. I am using heartbeat to monitor some websites and writing the results to a file. I have specified permissions on the output to 0604 but the "other" permissions are not being applied. I can understand the purpose of the change was that files shouldn't be created by default to grant public permissions but the way it has been implemented is that even if I specifically state that I want public permissions this cannot be achieved. Seems like madness to me. Rather than using a umask value (which prevents other access) wouldn't it be simpler to set the default to not grant other - then if we specify other permissions on a individual file they should be applied. |
…sk (#20584) (#28347) Changes implemented in the (#14119) made all Beats-created files and folders apply an umask of 0027 (on POSIX systems). Co-authored-by: dplavcic <[email protected]>
…sk (#20584) (#28347) Changes implemented in the (#14119) made all Beats-created files and folders apply an umask of 0027 (on POSIX systems). Co-authored-by: dplavcic <[email protected]> (cherry picked from commit ecd68db)
…sk (#20584) (#28347) (#29503) Changes implemented in the (#14119) made all Beats-created files and folders apply an umask of 0027 (on POSIX systems). Co-authored-by: dplavcic <[email protected]> (cherry picked from commit ecd68db) Co-authored-by: Dalibor P <[email protected]>
…ider umask (elastic#20584) (elastic#28347)" This reverts commit ecd68db.
I also have this problem, how can i fix it? I need to set right permission for monitor log with zabbix. to know when beat stop work or sending data to Elastic. |
Based on the discussion at https://discuss.elastic.co/t/rotated-log-files-have-incorrect-permissions/244623.
After the changes done in #14119 to resolve #14005, the documentation about the
logging.files.permissions
setting at https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html#_logging_files_permissions and the example in https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html#configuration-logging could use an update.The text was updated successfully, but these errors were encountered: