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

Add a method to change permission to File

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • API: JavaScript
    • 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

            kandeler Christian Kandeler
            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