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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Backlog
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: