Set beats permission checking to strict=false

When running filebeats integration tests on centos-7, the tests
fail due to permsisions checks on the temporary configuration file
created for the test. This commit sets strict permissions checks
to false in order for the tests to be able to succeed.

Fixes #11949
This commit is contained in:
Rob Bavey 2020-06-01 10:03:28 -04:00 committed by Robert Bavey
parent 1ed6523e83
commit b28fa3e7df

View file

@ -16,7 +16,7 @@
# under the License.
class FilebeatService < Service
FILEBEAT_CMD = [File.join(File.dirname(__FILE__), "installed", "filebeat", "filebeat"), "-c"]
FILEBEAT_CMD = [File.join(File.dirname(__FILE__), "installed", "filebeat", "filebeat"), "--strict.perms=false", "-c"]
class BackgroundProcess
def initialize(cmd)