Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8458

sdktool creates files with wrong permissions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.7.0
    • Qt Creator 2.6.1
    • Installer
    • Ubuntu 11.10 32 bit
    • 724c7568cf150a712f89cbd37fd34a94b7f74b13

    Description

      When installing the Qt 5.0.0 sdk with sudo to e.g. /usr/local, the sdktool creates files only readable by root:

      $ ls -al /usr/local/Qt5.0.0/Tools/QtCreator/share/qtcreator/QtProject/qtcreator
      total 16
      drwxr-xr-x 2 root root 4096 2012-12-19 10:03 .
      drwxr-xr-x 3 root root 4096 2012-12-19 10:03 ..
      -rw------- 1 root root 1416 2012-12-19 10:03 profiles.xml
      -rw------- 1 root root  747 2012-12-19 10:03 qtversion.xml
      

      This results in a warning when launching Qt Creator as a normal user:

      Warning: Failed to read "/usr/local/Qt5.0.0/Tools/QtCreator/share/qtcreator/QtProject/qtcreator/profiles.xml", cannot restore kits!
      Tool chain is no longer known, removing from kit "Desktop".
      

      Attachments

        Issue Links

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

          Activity

            People

              hunger Tobias Hunger
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes