Don't follow symlinks for remote-builds
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Craft-application should set `symlinks=True` when setting up the [remote-build work dir](https://github.com/canonical/craft-application/blob/ea697712fc92177a3669270e168f638272cc22f6/craft_application/remote/worktree.py#L54).
Additionally, there should be a try/except when copying files. Currently, it bubbles up as an internal error.
### Why it needs to get done
Craft-application shouldn't follow symlinks when copying the project directory to a temporary working directory. The working directory should be as identical as possible to the project directory. Additionally, following symlinks may fail.
Source: https://github.com/canonical/snapcraft/issues/5384
Evaluation history
No evaluation history available.