A user reports that Pipeline stash does not preserve the executable bit on 64-bit AIX, apparently due to a missing JNR port. Probably the same applies to any use of TarArchiver.

      Since we now assume Java 7, we can use java.nio.file calls. In particular, making IOUtils.mode and FilePath._chmod use PosixFilePermission rather than JNR would be appropriate.

          [JENKINS-36088] Use NIO rather than JNR whenever possible

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-25120 [ JENKINS-25120 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-21985 [ JENKINS-21985 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 172738 ] New: JNJira + In-Review [ 184753 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-26195 [ JENKINS-26195 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-37130 [ JENKINS-37130 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-18682 [ JENKINS-18682 ]
          Mark Waite made changes -
          Link Original: This issue is related to JENKINS-18682 [ JENKINS-18682 ]
          Mark Waite made changes -
          Link Original: This issue is related to JENKINS-21985 [ JENKINS-21985 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-34855 [ JENKINS-34855 ]
          Jesse Glick made changes -
          Labels Original: jdk7 jnr tar New: diagnostics jdk7 jnr tar

            dnusbaum Devin Nusbaum
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: