Skip to content

fix: accept a numeric chown uid in dokku_storage_ensure#398

Merged
josegonzalez merged 1 commit into
mainfrom
396-dokku-storage-ensure-rejects-a-numeric-chown-uid-that-dokku-supports
Jul 18, 2026
Merged

fix: accept a numeric chown uid in dokku_storage_ensure#398
josegonzalez merged 1 commit into
mainfrom
396-dokku-storage-ensure-rejects-a-numeric-chown-uid-that-dokku-supports

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

dokku's storage:ensure-directory --chown also accepts a raw numeric uid, but the task rejected anything outside the named ownership presets, making it narrower than dokku and its siblings dokku_storage_entry and dokku_storage_mount. Validation now mirrors dokku's ResolveChownID by accepting the presets or a uid in 0-65535 while still rejecting typos and out-of-range values before dispatch.

Closes #396

dokku's storage:ensure-directory --chown also accepts a raw numeric uid, but the task rejected anything outside the named ownership presets, making it narrower than dokku and its siblings dokku_storage_entry and dokku_storage_mount. Validation now mirrors dokku's ResolveChownID by accepting the presets or a uid in 0-65535 while still rejecting typos and out-of-range values before dispatch.
@josegonzalez
josegonzalez merged commit f5458af into main Jul 18, 2026
14 checks passed
@josegonzalez
josegonzalez deleted the 396-dokku-storage-ensure-rejects-a-numeric-chown-uid-that-dokku-supports branch July 18, 2026 06:36
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.

feat: dokku_storage_ensure rejects a numeric chown uid that dokku supports

1 participant