qt6-bb10/tests/auto/corelib
Kai Koehne a60571b370 QSaveFile: Fix permissions on creation
QSaveFile is intended to be a replacement for QFile, and should use the
same permissions for newly created files. QTemporaryFile however creates
new files with 0600 mask by default.

Fix this by making the mode_t argument QTemporaryFileEngine uses
configurable, and using 0666 for QSaveFile (like we do in QFile).

[ChangeLog][Important behavior changes] Files created by QSaveFile do
now have the same rights as files created by QFile. This also fixes a
regression in QSettings: In the Qt 5.4 series, new files created by
QSettings were only readable by the current user.

Task-number: QTBUG-44086
Change-Id: Ie1cc20e9f25c6e72e1bc9176490c419c27c5fc82
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-04-08 07:48:17 +00:00
..
animation Update copyright headers 2015-02-11 06:49:51 +00:00
codecs Fix support for iso8859-16 when compiling with ICU 2015-03-18 07:34:55 +00:00
global Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
io QSaveFile: Fix permissions on creation 2015-04-08 07:48:17 +00:00
itemmodels Update copyright headers 2015-02-11 06:49:51 +00:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel Fix source incompatibility while connecting signals with forward declared arguments 2015-03-18 07:33:19 +00:00
mimetypes Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
plugin QUuid: add missing relational operators 2015-04-04 06:40:27 +00:00
statemachine QStateMachine: add objectName to objects to ease debugging. 2015-03-16 12:55:00 +00:00
thread Do not search test binary if QProcess is not supported. 2015-03-23 08:38:58 +00:00
tools QVLA: Add operator= for initializer lists 2015-04-04 15:48:13 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00