Skip to content

Conversation

@jerm
Copy link
Member

@jerm jerm commented May 8, 2025

Fixes #16777

We weren't adding the webserver user to the app-user's group, which was
a problem for the webserver trying to write to the log file if it had
been created by a user-owned process (like a cron) or the installation
script chown-ing everything... even though the log file was created 664

This would often present in mysterious ways. In the linked case, trying
to upload a cvs for import would fail with an unhelpful message, because
the actual error is swallowed in the generic error handler for the page.

I've filed an issue to hopefully help with that: #16893

Used this opportunity to condense some logic that was
identical between architectures, simplifying user creation a bit

Fixes #16777

We weren't adding the webserver user to the app-user's group, which was
a problem for the webserver trying to write to the log file if it had
been created by a user-owned process (like a cron) or the installation
script chown-ing everything... even though the log file was created 664

This would often present in mysterious ways. In the linked case, trying
to upload a cvs for import would fail with an unhelpful message, because
the actual error is swallowed in the generic error handler for the page.

I've filed an issue to hopefully help with that: #16893

Used this opportunity to condense some logic that was
identical between architectures,
@jerm jerm requested a review from snipe as a code owner May 8, 2025 13:40
@jerm jerm mentioned this pull request May 8, 2025
Copy link
Member

@uberbrady uberbrady left a comment

Choose a reason for hiding this comment

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

I think this makes sense - just caught a few typos in one of the comments that we prolly wanna fix.

@snipe snipe merged commit f151628 into develop May 8, 2025
5 of 7 checks passed
@snipe snipe deleted the resolve-webserver-permissions branch May 26, 2025 13:24
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.

4 participants