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

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

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            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