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

QNX doesn't enforce file permissions

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes