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

Linux: QSaveFile creates files with 000 permission on 32bit systems

    XMLWordPrintable

Details

    • Linux/X11
    • 1d33493989eae774bafc124f9d3ee68d7a017a10

    Description

      To reproduce, run this in 32bit Linux environment:

      #include <QCoreApplication>
      #include <QSaveFile>
      
      int main(int argc, char **argv)
      {
          QCoreApplication app(argc, argv);
      
          QSaveFile f("test.txt");
          f.open(QSaveFile::WriteOnly | QSaveFile::Truncate);
          f.write("hello world\n");
          f.commit();
      }
      

      Attachments

        1. first-run.txt
          12 kB
        2. qtbug69436.tar.gz
          0.6 kB
        3. second-run.txt
          13 kB
        For Gerrit Dashboard: QTBUG-69436
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes