Skip to content

Change the worker log file permission only for download requests that are served - #8978

Open
rzo1 wants to merge 1 commit into
masterfrom
fix/logviewer-download-permission-order
Open

Change the worker log file permission only for download requests that are served#8978
rzo1 wants to merge 1 commit into
masterfrom
fix/logviewer-download-permission-order

Conversation

@rzo1

@rzo1 rzo1 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

The download handler called setLogFilePermission before deciding whether to serve the file, so a request that was refused still changed the file on disk.

The permission change now happens only on the path that serves the file, matching the ordering logPage already uses. Extends LogviewerLogDownloadHandlerTest.

@rzo1 rzo1 added this to the 3.1.0 milestone Aug 19, 2026
@rzo1 rzo1 self-assigned this Aug 19, 2026
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.

1 participant