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

QFile::setPermissions with read-only flags does not make file read-only.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.8.0
    • Core: I/O
    • None
    • QNX

    Description

      tst_QFileInfo::isWritable() indicates that QFile::setPermissions with read-only flags does not make the file read-only.

      Alternatively, QFileInfo::isWritable() may return even with read-only files.

      See tst_QFileInfo::isWritable() for reproducer

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            johanseg Jøger Hansegård
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes