← Back to issue list

Permissions owner and group not applied

View original Github issue

Metadata

Project
craft-parts
Number
#507
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Closed with no documented fix; CRAFT-2949 was created, but no resolving PR or commit is identified.

Resolution: closed stale

Reason: The only recorded follow-up was an automated comment linking internal ticket CRAFT-2949. No maintainer explanation, resolving PR, or commit was documented.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description When used in Rockcraft, the directory in the shared yaml is still owned by root in the resulting image ### To Reproduce - install rockcraft - add the shared part as a part - run rockcraft ### part yaml ```shell zinc: plugin: go source: https://github.com/zincsearch/zincsearch source-type: git source-tag: v0.4.7 build-snaps: - go/latest/stable - node/18/stable build-environment: - CGO_ENABLED: 0 - GOOS: linux override-build: | COMMIT_HASH="$(git rev-parse HEAD)" BUILD_DATE="$(date -u '+%Y-%m-%d_%I:%M:%S%p-GMT')" # Build the web ui, which is embedded in the go binary later pushd web npm install npm run build popd go mod tidy go build \ -ldflags="-s -w -X github.com/zincsearch/zincsearch/pkg/meta.Version=${CRAFT_PROJECT_VERSION} \ -X github.com/zincsearch/zincsearch/pkg/meta.CommitHash=${COMMIT_HASH} \ -X github.com/zincsearch/zincsearch/pkg/meta.BuildDate=${BUILD_DATE}" \ -o zincsearch \ cmd/zincsearch/main.go stage-packages: - libc6_libs - ca-certificates_data override-stage: | # Create some directories mkdir -p "${CRAFT_PART_INSTALL}/bin" "${CRAFT_PART_INSTALL}/var/lib/zincsearch" # Install the zincsearch binary install -m 0755 "${CRAFT_PART_BUILD}/zincsearch" "${CRAFT_PART_INSTALL}/bin/zincsearch" # Run the default stage hook craftctl default permissions: - path: /var/lib/zincsearch owner: 584792 group: 584792 mode: "755" ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed with no documented fix; CRAFT-2949 was created, but no resolving PR or commit is identified.
stealth/space-bunny-alpha — closed stale Closed after being tracked internally as CRAFT-2949; the supplied record contains no confirming fix, PR, commit, or maintainer explanation.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report was synced to internal Jira ticket CRAFT-2949 for tracking, but no fix or status update was provided in the repository.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 45
Confidence: 85
Support Request: 10
close stale Rockcraft part permissions block for owner/group is not applied to the resulting image. Issue remains inactive for over a year with only an automated Jira sync comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 20
Confidence: 85
Support Request: 0
needs triage Rockcraft ignores permissions owner/group settings in part YAML, leaving directories owned by root. Untriaged with no maintainer response in over a year.

Update history

Date Change
closed

Related issues

Issue Project State Summary Similarity
#97 Encoding issues with the metadata output fetch-service closed Closed without a documented fix after CRAFT-3023 was created; no linked PR, commit, or maintainer explanation accompanied the closure.
72%