Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9824

Mac OS X: QSettings::isWritable() returns true for non-admin user accessing SystemScope

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.6.2
    • Fix Version/s: 5.3.0 RC1
    • Labels:
      None
    • Environment:
      MacOS X 10.6
    • Platform/s:
      macOS
    • Commits:
      35a11d6fce6820fa71db7c8b696d25b5de508277

      Description

      For a non-administrator user, using a QSettings object with QSettings::SystemScope, QSettings::isWritable() returns true, although the sync() call will fail.

      Example program attached. Run as non-admin. QSettings::isWritable() should return false.

        Attachments

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

          Activity

            People

            Assignee:
            sgaist Samuel Gaist
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes