Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1125

Add a method to change permission to File

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API: JavaScript
    • Labels:
      None

      Description

      Use case:

      A user wants to expand variables in a shell script template and make the resulting artifact executable with a Rule.

      This is not possible since according to the documentation there is no API for that.

      Workaround: make the template executable, copy and rewrite text from the JavaScript command. It would be easier if there was a File method to change permissions.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            plfiorini Pier Luigi Fiorini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes