Skip to content

Commit

Permalink
Fix permissions on module files (#3645)
Browse files Browse the repository at this point in the history
* Fix permissions on module files

They contain configuration files, so they shouldn't be group writable,
which was the case before this patch.

Fixes #3644.

* autopep8 fix
  • Loading branch information
tsg authored and monicasarbu committed Feb 22, 2017
1 parent 9318cb1 commit c27250f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ install-home:
if [ -d _meta/module.generated ]; then \
install -d -m 755 ${HOME_PREFIX}/module; \
rsync -av _meta/module.generated/ ${HOME_PREFIX}/module/; \
chmod -R go-w _meta/module.generated; \
fi

# Prepares for packaging. Builds binaries and creates homedir data
Expand Down
2 changes: 0 additions & 2 deletions libbeat/tests/system/beat/beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ class TestCase(unittest.TestCase):
@classmethod
def setUpClass(self):



# Path to test binary
if not hasattr(self, 'beat_name'):
self.beat_name = "beat"
Expand Down

0 comments on commit c27250f

Please sign in to comment.