Skip to content

Vcpkg.io remote user support - #278

Open
NimatLa wants to merge 2 commits into
devcontainer-community:mainfrom
NimatLa:vcpkg-io-with-remote-user
Open

NimatLa wants to merge 2 commits into
devcontainer-community:mainfrom
NimatLa:vcpkg-io-with-remote-user

Conversation

@NimatLa

@NimatLa NimatLa commented Sep 13, 2026

Copy link
Copy Markdown

Fixes #277.

If remoteUser is not root, create a new vcpkg group, set the group as owner of vcpkg root directory with, and give the group write permissions to it.

Also added a test scenario, which installs the vcpkg-cmake vcpkg package. This package does not actually need to compile anything, so it should be reasonably fast. See an example of the test failing here: https://github.com/NimatLa/devcontainer-features/actions/runs/34758991664/job/103728325941#step:4:382

Signed-off-by: Niko Lappalainen <16636564+NimatLa@users.noreply.github.com>
@NimatLa

NimatLa commented Sep 13, 2026

Copy link
Copy Markdown
Author

I'm not sure how this should affect the feature semantic version. Technically this could be a breaking change.

@sebst
sebst marked this pull request as ready for review September 13, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vcpkg.io: Non-root remote user has no permissions to write to vcpkg root

2 participants