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

[Regression] Default permission when archiving a build

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins v1.582 / Debian 7

      Hi,

      It seems that there a regression with a recent patch.
      Whem i'm building my application, and archiving it in order to deploy the application, the default permission seems to have changed in *a bad way*.

      You can see the screenshot attached that the v1.0.6 has "normal" permission but after a jenkins update, the version 1.0.8 on the screenshot have really weird permissions which prevent the webserver from reading the content of the folder.
      (i had to manually set the correct permissions for 1.0.9)

      I didn't touch the build script responsible of building the archive or the deployment method between those versions.

      I suspect the umask PR thing to be the cause (but this is just a guess) : https://github.com/jenkinsci/jenkins/pull/1397

          [JENKINS-24987] [Regression] Default permission when archiving a build

          tristan bessoussa created issue -
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-24514 [ JENKINS-24514 ]
          Kohsuke Kawaguchi made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 158883 ] New: JNJira + In-Review [ 195918 ]

            kohsuke Kohsuke Kawaguchi
            sf_tristanb tristan bessoussa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: