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

handle potential leading space for umask regex #47

Merged
merged 1 commit into from
Jul 16, 2018

Conversation

veetow
Copy link
Contributor

@veetow veetow commented Jul 5, 2018

For example, the default /etc/profile on CentOS 7 has code that looks like this:

if [ $UID -gt 199 ] && [ \"`/usr/bin/id -gn`\" = \"`/usr/bin/id -un`\" ]; then
    umask 027
else
    umask 022
fi

@rarenerd rarenerd merged commit 5f73758 into dev-sec:master Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants