← Back to issue list

Snapcraft 9.0.0: cannot create directory '/snap/command-chain': Permission denied

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2160018
Type
issue
State
closed
Author
~nteodosio
Labels
—
Created
Updated
Closed

Current evaluation

Closed as a duplicate of canonical/snapcraft#6328, the primary tracker for the Snapcraft 9 destructive-mode /snap/command-chain permission regression (internal SNAPCRAFT-1366).

Resolution: closed superseded

Reason: A maintainer explicitly closed the Launchpad report as a duplicate of canonical/snapcraft#6328, which tracks the same Firefox-on-Docker failure. No public fixing PR or commit was identified.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Firefox builds on Docker in destructive mode fail under snapcraft 9.0.0: [task 2026-06-16T10:09:13.478+00:00] Building gnome/gpu/wrapper [task 2026-06-16T10:09:13.486+00:00] :: + make -j60 GPU_INTERFACE=gpu-2404 [task 2026-06-16T10:09:13.487+00:00] :: install -D -m755 gpu-wrapper "/snap/command-chain"/"gpu-2404-wrapper" [task 2026-06-16T10:09:13.489+00:00] :: install: cannot create directory '/snap/command-chain': Permission denied [task 2026-06-16T10:09:13.489+00:00] :: make: *** [Makefile:9: gpu-2404-wrapper] Error 1 [task 2026-06-16T10:09:13.491+00:00] Failed to run the build script for part 'gnome/gpu/wrapper'. [task 2026-06-16T10:09:13.491+00:00] Detailed information: [task 2026-06-16T10:09:13.491+00:00] :: + make -j60 GPU_INTERFACE=gpu-2404 [task 2026-06-16T10:09:13.491+00:00] :: install: cannot create directory '/snap/command-chain': Permission denied [task 2026-06-16T10:09:13.491+00:00] :: make: *** [Makefile:9: gpu-2404-wrapper] Error 1 Full log: https://treeherder.mozilla.org/logviewer?job_id=573086536&repo=autoland&task=DGg8cWn2SCSwSE15vfULlQ.0&lineNumber=107498 Reverting to 8.x fixes the issue.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed as a duplicate of canonical/snapcraft#6328, the primary tracker for the Snapcraft 9 destructive-mode /snap/command-chain permission regression (internal SNAPCRAFT-1366).
qwen/qwen3.8-27b — closed superseded Firefox Docker destructive-mode builds failed under snapcraft 9.0.0 with 'cannot create directory /snap/command-chain: Permission denied'. Confirmed as a bug and closed as a duplicate of canonical/snapcraft#6328, which tracks the same Snapcraft 9 regression (internal ticket SNAPCRAFT-1366).
stealth/space-bunny-alpha
Impact: 58
Quick Win: 43
Complexity: 22
Confidence: 99
Actionability: 95
close resolved Confirmed Snapcraft 9 destructive-mode /snap/command-chain permission regression, fixed in Snapcraft 9.1.0 by merged PR #6399; this open report should close.
stealth/space-bunny-alpha
Impact: 65
Quick Win: 30
Complexity: 48
Confidence: 91
Actionability: 88
needs triage Snapcraft 9.0.0 blocks Firefox Docker destructive-mode builds at /snap/command-chain. A matching GitHub report is closed after triage as SNAPCRAFT-1366; no fix is identified.
qwen3.6-35b-a3b-mtp-q6
Impact: 65
Quick Win: 36
Staleness: 55
Complexity: 45
Confidence: 55
Support Request: 15
needs triage Snapcraft 9.0.0 regression: Docker destructive mode builds fail with permission denied when creating /snap/command-chain. Unlabelled, no maintainer response after 60 days.
qwen/qwen3.6-35b-a3b
Staleness: 10
Complexity: 40
Confidence: 90
Support Request: 0
needs triage Firefox Docker builds fail with snapcraft 9.0.0 due to permission denied errors when creating '/snap/command-chain'. Reverting to 8.x resolves the regression. Issue is new and unaddressed.
qwen/qwen3.6-35b-a3b
Staleness: 40
Complexity: 35
Confidence: 85
Support Request: 10
needs triage Regression in snapcraft 9.0.0 causes permission denied errors when creating '/snap/command-chain' during Docker builds in destructive mode. Untriaged, awaiting maintainer review.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 45
Confidence: 90
Support Request: 10
needs triage Snapcraft 9.0.0 fails to build Firefox in Docker destructive mode due to permission denied when creating /snap/command-chain. Reverting to 8.x resolves it. Awaiting maintainer review.

Update history

Date Change
created

Related work

  • Duplicate Of: canonical/snapcraft#6328 (confidence 100%)

    The closing maintainer comment identifies this GitHub issue as the primary tracker for the identical Snapcraft 9 regression.

Related issues

Issue Project State Summary Similarity
#6328 Snapcraft 9: cannot create directory '/snap/command-chain': Permission denied Edit snapcraft closed Confirmed as a Snapcraft 9 destructive-mode regression and moved to internal SNAPCRAFT-1366, but no public fixing PR or commit was recorded before closure.
96%