Skip to content

Backport #117895 to 26.6: Require the WRITE ON FILE grant when rename_files_after_processing is set - #118547

Merged
clickhouse-gh[bot] merged 3 commits into
26.6from
backport/26.6/117895
Sep 7, 2026
Merged

clickhouse-gh[bot] merged 3 commits into
26.6from
backport/26.6/117895

Conversation

@robot-ch-test-poll2

@robot-ch-test-poll2 robot-ch-test-poll2 commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #117895
Cherry-pick pull-request #118538

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.6.5.66

@robot-ch-test-poll2 robot-ch-test-poll2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Sep 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [25e5280]

Summary: ✅

PedroTadim and others added 2 commits September 7, 2026 13:19
The `URL` database engine (`src/Databases/DatabaseURL.cpp`) was introduced
after this branch, so `CREATE DATABASE ... ENGINE = URL('file://')` throws
`UNKNOWN_DATABASE_ENGINE` here and the test fails with `having stderror`.
The `url('file://...')` table function arm is a different path and stays.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`url()` only dispatches by URL scheme from 26.7 on, so `file://` here is served by
the URL engine itself rather than delegated to `StorageFile`: the read never
reaches the grant this test is about, and prints no denial.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 3face8c into 26.6 Sep 7, 2026
39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/117895 branch September 7, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants