Skip to content
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

When checking "logrotates" properties, subdirectories are not well took into acccount. #36

Closed
sklerder opened this issue Apr 25, 2015 · 1 comment
Assignees

Comments

@sklerder
Copy link

Actually, at line 277 of "~lynis/include/tests_logging", the check is made against :
sed 's//[a-zA-Z_.-]$//g' | sort | uniq
It should be done against :
sed 's//[^/]$//g'
But because we are checking against a string that should contain a "/", it's better to chack with :
sed 's@/[^/]$@@g'

Pull request #37 available including this correction.

@sklerder sklerder reopened this Apr 26, 2015
@sklerder sklerder changed the title When checking "logrotates" properties, subdiretories are not welle taook in acccount. When checking "logrotates" properties, subdirectories are not well took into acccount. Apr 26, 2015
@mboelen mboelen self-assigned this May 26, 2015
@mboelen
Copy link
Member

mboelen commented May 26, 2015

Change has been applied. Thanks for reporting.

@mboelen mboelen closed this as completed May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants