Skip to content

ImageBuilder update does not preserve executable bits in bundled infrastructure #2181

Closed as not planned

Description

@lbussell

The infrastructure files packed into ImageBuilder lose their Unix file mode metadata. When update recreates them, files tracked as 100755 are written without execute bits.

Currently affected:

  • skill-helpers/Get-BuildLog.ps1
  • skill-helpers/Get-FailingPipelines.ps1
  • skill-helpers/Show-BuildTimeline.ps1
  • skill-helpers/Show-PullRequestComments.ps1

This is not impactful today because these scripts are invoked through pwsh rather than executed directly.

Related NuGet issue: NuGet/Home#13121

Suggested fix: Generate a list of executable files at build time, embed it in ImageBuilder, and restore their execute bits in the update command.

Activity

  1. lbussell commented on Jul 20, 2026

    @lbussell
    MemberAuthor

    [Triage] Since this isn't actually causing any issues today, closing as not planned. If we need executable scripts for some reason then this should be re-opened.

  2. moved this from Backlog to Done in .NET Dockeron Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions