Wrong permission on resources when on SNAPCRAFT_CONTAINER_BUILDS=1
Metadata
Current evaluation
Closed without resolution. Snapcraft created root-owned directories when SNAPCRAFT_CONTAINER_BUILDS=1, preventing safe cleanup. Zero comments and no patches indicate the report was abandoned or marked stale.
Suggested action: —
No scores available.
Issue body
Snapcraft will create a bunch of directories with root privileges. The only way for me to clean them up is by becoming root, making it impossible to develop on a system if she's not an admin.
Furthermore, it requires typing "sudo rm -rf ...." which could go wrong on many levels.
apol@oliver:~/devel/snaps/kdeconnect-plasma (master)$ ls -l
drwxr-xr-x 3 root root 4096 set 27 20:50 snap
drwxr-xr-x 2 root root 4096 set 27 20:50 prime
drwxr-xr-x 7 root root 4096 set 27 20:55 stage
drwxr-xr-x 6 root root 4096 set 27 21:06 parts
...
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft created root-owned directories when SNAPCRAFT_CONTAINER_BUILDS=1, preventing safe cleanup. Zero comments and no patches indicate the report was abandoned or marked stale. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments, likely abandoned. The report detailed Snapcraft generating root-owned directories when container builds are enabled, preventing safe non-root cleanup. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, likely abandoned or superseded. The issue reported Snapcraft creating root-owned directories during container builds, preventing non-root cleanup. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The report of Snapcraft creating root-owned directories during container builds remains unaddressed, indicating the issue was abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1800119 snapcraft cleanbuild | snapcraft (launchpad) | closed | Closed without resolution. The report details a PermissionError during snapcraft cleanbuild caused by restricted access to the .aptitude directory. With zero comments and no fix applied, the issue was abandoned or marked stale. | |
| #1741753 Snapcraft clean fails on root-owned files | snapcraft (launchpad) | closed | Closed without resolution. snapcraft clean failed with a PermissionError when removing root-owned files from the build directory. No fix or discussion was provided. |