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

QNX doesn't enforce file permissions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.0 Beta2
    • Core: I/O
    • None

      I found while testing tst_qquicktextdocument::loadErrorPermissionDenied() in CI that if I copy a file to a temp directory and call

      QFile::setPermissions(tmpPath, QFileDevice::Permissions{})
      

      to make it unreadable, QFile can still read it afterwards. So maybe setPermissions() doesn't work, or QNX doesn't enforce permissions (this may not be a bug then), or QFile::open() can bypass them somehow.

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

            thiago Thiago Macieira
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes