Closed neko-neko closed 7 years ago
pos file is other user writable.
# my server pos file $ ls /var/log/td-agent/systemd.journal.pos -rw-rw-rw- 1 td-agent td-agent 123 Jan 30 17:40 systemd.journal.pos # umask $ umask -S u=rwx,g=rx,o=rx
Should explicitly set permissions. lastest ruby set default permission 0666. https://docs.ruby-lang.org/ja/latest/method/Kernel/m/open.html
0666
My PR. https://github.com/reevoo/fluent-plugin-systemd/pull/28
Issue
pos file is other user writable.
Should explicitly set permissions. lastest ruby set default permission
0666
. https://docs.ruby-lang.org/ja/latest/method/Kernel/m/open.htmlMy PR. https://github.com/reevoo/fluent-plugin-systemd/pull/28