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

Archive the artifacts does not preserve file exec permissions

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Ubuntu 12.04 64 bit

      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.

          [JENKINS-14269] Archive the artifacts does not preserve file exec permissions

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

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

              Created:
              Updated:
              Resolved: