Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55125

Explicitly control uid, gid, and perms when archiving build artifacts with tar

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Server Development Platform
    • Minor Change

      We currently use the python tarfile module to produce the tarfiles for the server build. Currently, we just reflect whatever the real filesystem permissions were on disk at the time the tarfile was created. This has lead to some surprises at various times. The tarfile module provides a facility by which we can explicitly set the uid, guid, and permissions bits on the files to be whatever we would like them to be, without regard for what they might happen to have on disk. We should apply this technique to ensure that our tarfiles have consistent contents.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: