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

qbs config --global fails silently if permissions are insufficient (Linux)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 0.2
    • 0.2
    • General
    • None
    • Ubuntu 12.04 x86_64 (has QMake 2.01a, Qt 4.8.1)

    Description

      If run by a normal unprivileged user, any command which attempts to write to the global qbs preferences will fail silently, returning 0 and with no error message, but without writing the preference.

      This includes shortcut commands such as “qbs setup-qt /usr/bin/qmake system-qt” as well as normal ones such as “qbs config --global platform gcc”.

      If the command is run as a priviliged user (e.g. by prefixing with “sudo ”), the configuration is correctly saved.

      Qbs should tell the user (and return a non-zero return code) if it is unable to write a preference.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            gallafent William Gallafent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes