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

Archive the artifacts does not preserve file exec permissions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      Ubuntu 12.04 64 bit
    • Similar Issues:

      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

            bedge Bruce Edge created issue -
            gbois Gregory Boissinot made changes -
            Field Original Value New Value
            Component/s core [ 15593 ]
            Component/s artifactdeployer [ 15870 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-9741 [ JENKINS-9741 ]
            epyle Eric Pyle made changes -
            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.
            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.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 144901 ] JNJira + In-Review [ 176221 ]
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-13128 [ JENKINS-13128 ]
            danielbeck Daniel Beck made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: