← Back to issue list

Copy plugin should follow symlinks that point outside of the snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1532515
Type
issue
State
closed
Author
~renat2017
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. PR #209 was proposed to copy symlinks with metadata but received no comments. Extended inactivity indicates the request was abandoned or superseded.

Suggested action:

No scores available.

Issue body

We need the option to copy symlinks as symlinks with their metadata in the copy plugin. Here is the possible solution. https://github.com/ubuntu-core/snapcraft/pull/209

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. PR #209 was proposed to copy symlinks with metadata but received no comments. Extended inactivity indicates the request was abandoned or superseded.
qwen/qwen3.6-35b-a3b Resolved via PR #209, which implements symlink copying with metadata support for the copy plugin.
qwen/qwen3.6-35b-a3b Closed with a linked PR proposed as a solution. The feature request was abandoned without explicit resolution or merge confirmation.
qwen3.6-35b-a3b-mtp-q6 Closed and abandoned. The request to copy symlinks with metadata was linked to PR #209 as a proposed fix, but no implementation occurred and the pull request was not merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#426 Copy plugin: Follow symlinks if outside of snap. snapcraft merged Merged. Updates the copy plugin to follow absolute symlinks and those pointing outside the part's install directory, preserving validity when snapped. Resolves LP #1532515. Modified 2 files with 142 additions and 14 deletions.
79%
#209 Added symlinks option to the copy plugin snapcraft closed Closed without merging. Maintainer declined the symlink option, proposing a complete redesign of the copy plugin's symlink handling instead. Contributor was invited to reopen or submit a new PR if they wish to implement the proposed approach.
76%
#1702661 node plugin fails to capture symlink snapcraft (launchpad) closed Closed without resolution. The snapcraft node plugin failed to resolve symlinks during the prime stage, causing a missing file error. No fix or follow-up was provided.
72%
#1614913 FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase) snapcraft (launchpad) closed Reported a failing symlink test during snapcraft build. Closed without comments or resolution, likely abandoned or superseded by newer versions.
70%
#1650686 Some symlinks not properly fixed up snapcraft (launchpad) closed Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented.
70%