Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-330

Wagon nukes the permission bits of uploaded files.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: site:deploy
    • Labels:
      None

      Description

      Uploading a site using wagon might nuke permission bits of e.g. CGI scripts thus making these unavailable.

      For Apache webserver, a CGI script can have the permission bit set and is then executed. This is e.g. used for the "download.cgi" script on many Apache project sites.

      The wagon uploader (at least ssh and ssh-external) unconditionally change the permissions of all files to be 664. Which kills the execution bits. Which is bad (TM).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hgschmie Henning Schmiedehausen
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: