qt5base-lts/tests/auto
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
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Fix regression with quoted OPTIONS parameter 2015-03-11 07:31:33 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Fix build of tests on QNX. 2015-03-14 07:05:34 +00:00
corelib QSaveFile: Fix permissions on creation 2015-04-08 07:48:17 +00:00
dbus Tests: remove insignificant flag for dbus tests on osx 2015-03-27 18:37:30 +00:00
gui Introduce QQuaternion::fromDirection() 2015-04-07 13:07:48 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql MySQL: Fix test so it expects the right integer type 2015-03-20 13:51:34 +00:00
testlib Make the printing of complex byte arrays prettier 2015-02-15 06:35:43 +00:00
tools add autotest for qmake parser 2015-02-25 13:55:12 +00:00
widgets QComboBox: also adjust size on model reset, with AdjustToContents 2015-04-04 12:24:44 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Fix running of dbus-send on some systems 2015-03-31 05:55:55 +00:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00