Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37848

lsst-texmf: Disable git safe directory checks

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Slack thread: https://lsstc.slack.com/archives/C2B6DQBAL/p1673036266123519

      The issue is that our normal practice with the lsst-texmf Docker images is to run the tex make command with the document's git repository mounted in /workspace. This directory may not have the expected ownership. Newer versions of Git check directory ownership, and will normally refuse to run on such directories. We use git in the document builds though, to extract both the date and the version. The best solution to this is to add a git configuration into the Docker image that disables this safe directory check:

      git config --global --add safe.directory '*'
      

        Attachments

          Activity

          Hide
          jsick Jonathan Sick added a comment -
          Show
          jsick Jonathan Sick added a comment - See PR at  https://jira.lsstcorp.org/browse/DM-37848

            People

            Assignee:
            jsick Jonathan Sick
            Reporter:
            jsick Jonathan Sick
            Watchers:
            Jonathan Sick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.