Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4340

Getdown does not preserve executable permission of jalview.sh file when it gets updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.11.3.0
    • Fix Version/s: 2.11.3.1
    • Labels:
      None
    • Environment:
      linux, macOS command line
    • Urgency:
      Urgent

      Description

      The jalview.sh file is installed with executable permission on macOS and linux
      (by default found in
      /Application/Jalview.app/Contents/Resources/app/bin/jalview.sh
      and
      ~/opt/jalview/bin/jalview.sh
      respectively) which is necessary for the symbolic link "jalview" to run from the command line.

      If jalview.sh is updated on the getdown channel and getdown downloads the new version, it does not preserve the executable permission as found on the web server channel, or the file as it is on the local filesystem.

      This should be fixed in getdown before any updates to jalview.sh are made. Whilst there are no updates to jalview.sh, it shouldn't be touched by getdown and so should remain with executable permission.

      Suggest an update to getdown in next release and don't update jalview.sh until after then. No updates to jalview.sh are anticipated at this stage since most command line arguments are dealt with by jalview.bin.Launcher and jalview.bin.Jalview.

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            soares Ben Soares
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: