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 minor issues with privilege dropping feature #41

Merged
merged 2 commits into from
May 29, 2023

Conversation

aWZHY0yQH81uOYvH
Copy link
Contributor

Fixes the issues I mentioned in this comment. Tested working on FreeBSD with file-provided TLS certs.

@patrickhener
Copy link
Owner

Thanks for providing a Patch for this minor issue. I will merge and Tag it as Release after checking on it. Thanks again for contributing.

@patrickhener
Copy link
Owner

I checked the code and think this will solve the issue. However dropping privileges on MacOS seams to lead to a bug where a user then cannot access the directory anymore. (Example: Running as root to bind port 80 and then drop to user patrick in a directory where patrick should be able to read - leads to not able to access the directory anymore. However this needs to be investigated separately).

@patrickhener patrickhener merged commit 33c8a14 into patrickhener:main May 29, 2023
@aWZHY0yQH81uOYvH aWZHY0yQH81uOYvH deleted the fix-40 branch July 22, 2023 04:02
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