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

Fix permissions on /tmp/modsecurity directory on Apache image #263

Merged
merged 2 commits into from
Jun 9, 2024

Conversation

mivek
Copy link
Contributor

@mivek mivek commented Jun 8, 2024

Following #227, http user cannot read or write /tmp/modsecurity. Added /tmp/modsecurity to the list of directories owned by httpd.

This fixes #262

Following coreruleset#227, http user cannot read or write /tmp/modsecurity.
Added /tmp/modsecurity to the list of directories owned by httpd
Copy link
Contributor

@theseion theseion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also remove the chown line, where the owner is set to www-data?

@mivek mivek requested a review from theseion June 9, 2024 06:07
@theseion theseion merged commit 1f531a0 into coreruleset:main Jun 9, 2024
6 checks passed
@theseion
Copy link
Contributor

theseion commented Jun 9, 2024

Thank you!

@mivek mivek deleted the fix_permission_tmp_directory branch June 9, 2024 06:39
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.

ModSecurity: Input filter: Failed to create temporary file
2 participants