Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-313

Artifact file permissions are 0600 and not implicitly set by umask

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.4
    • Resolver
    • None

    Description

      With introduction of FileUtils, and widespread use of CollocatedTempFile, one problem occurs: in both "temp file" cases Files.createTempFile is being used, that uses 0600 permissions instead to rely on umask.

      In case of TempFile this is OK, but in case of CollocatedTempFile this is NOT OK, as these files are usually moved to their "final" place (like artifact in local repo once downloaded and verified).

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: