Skip to content

Backport #111483 to 26.6: Restrict local object access only for user files path - #114433

Merged
clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/111483
Sep 13, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/111483

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #111483
Cherry-pick pull-request #112257

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.6.7

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

clickhouse-gh Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [9b2cf61]

Summary: ✅

`MetadataStorageFromPlainObjectStorageTransaction::removeDirectory`
now refuses a non-empty directory with `CANNOT_RMDIR`, but the
cherry-pick did not bring the matching `extern` declaration that
master has, so the build failed:

  error: no member named 'CANNOT_RMDIR' in namespace 'DB::ErrorCodes'

The error code itself exists in this branch (`ErrorCodes.cpp`, 566);
only the per-file declaration was missing.
@clickhouse-gh
clickhouse-gh Bot merged commit 0530284 into 26.6 Sep 13, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/111483 branch September 13, 2026 20:44
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