From 354a2ef93bca6c569274a13ecb961e8e9b19da48 Mon Sep 17 00:00:00 2001 From: Neureka Date: Wed, 18 Nov 2026 14:36:10 -0800 Subject: [PATCH] fix: add chown and chmod helpers Arcane restores an uploaded volume archive into a newly created Compose volume by copying the archive root's owner and mode onto the volume root with chown and chmod. The image had neither applet, so project copy/move with volumes failed with "chown: not found". Refs getarcaneapp/arcane#4885 Co-Authored-By: Claude Opus 5.5 --- README.md | 2 ++ build.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 9f32102..4d69823 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ The final image is built `FROM scratch` and contains only: - `mktemp` - `tar` - `test` + - `chown` + - `chmod` - CA certificates bundle at `/etc/ssl/certs/ca-certificates.crt` - Writable runtime directories: - `/tmp` (mode `1777`) diff --git a/build.yaml b/build.yaml index 75faa95..398e48d 100644 --- a/build.yaml +++ b/build.yaml @@ -47,6 +47,8 @@ busybox: - CONFIG_FEATURE_STAT_FORMAT - CONFIG_FEATURE_TAR_CREATE - CONFIG_FEATURE_TAR_GNU_EXTENSIONS + - CONFIG_CHMOD + - CONFIG_CHOWN - CONFIG_FIND - CONFIG_GZIP - CONFIG_HEAD @@ -78,6 +80,8 @@ busybox: - mktemp - tar - test + - chown + - chmod # Trivy database mirrors. Each entry is mirrored from `source:tag` to every # `targets:tag` by the mirror-trivy-db workflows on a 6h cron. These DBs are