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

It should be documented that QFile::setPermissions() cannot be used to change the file permissions on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 RC
    • 5.3.1
    • Documentation
    • None
    • Windows
    • Change-Id: Id97add8a6fdb7ce59020e833f6dc11744c9aaa7e

    Description

      There is not mentioned in the QFile::setPermissions() (or QFileDevice::Permission) that it is not possible to change the file permissions on Windows with that function. It only checks if the file is read-only or not.

      http://qt-project.org/doc/qt-5/qfile.html#setPermissions
      http://qt-project.org/doc/qt-5/qfiledevice.html#Permission-enum

      Attachments

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

        Activity

          People

            leenam Leena Miettinen
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes