Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14269

Archive the artifacts does not preserve file exec permissions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • core
    • None
    • Ubuntu 12.04 64 bit

    Description

      Files saved via the "Archive the artifacts" mechanism lose their file access bits.

      In the workspace, the file is:
      -rwxr-xr-x 1 jenkins nogroup 577 2012-06-30 09:23 XXtool

      in the archive dir, it shows up as:
      -rw-r--r-- 1 jenkins nogroup 577 2012-06-30 09:32 XXtool

      There's no way that I can see to preserve the file permissions.

      Attachments

        Issue Links

          Activity

            andreas1337 Andreas Hindborg added a comment - I have uploaded a possible fix for this issue at https://github.com/metaspace/jenkins/commit/87a49efa0bdc99844455461db7db86fe3546e5e2
            misery A. Klitzing added a comment -

            Any progress here? Can the fix be included?

            misery A. Klitzing added a comment - Any progress here? Can the fix be included?

            It was rejected. A new try is here https://github.com/jenkinsci/jenkins/pull/1576 . But it seems like this patch also needs some work.

            andreas1337 Andreas Hindborg added a comment - It was rejected. A new try is here https://github.com/jenkinsci/jenkins/pull/1576 . But it seems like this patch also needs some work.

            Any chance of a fix to this issue?

            barnish Andrew Barnish added a comment - Any chance of a fix to this issue?
            danielbeck Daniel Beck added a comment -

            Considering this a duplicate of JENKINS-13128, as that's more comprehensive.

            danielbeck Daniel Beck added a comment - Considering this a duplicate of JENKINS-13128 , as that's more comprehensive.

            People

              gbois Gregory Boissinot
              bedge Bruce Edge
              Votes:
              13 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: