summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRitt Konstantin <qnx@ics.com>2011-06-21 11:51:11 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2011-06-21 12:05:44 (GMT)
commit608c6090eda5579cc6325c3b91172614da1a464d (patch)
tree74d6cf7f49f25a046c4422b1075c730b5627b212
parent71d5b43e80351dcfdc9502d3060f0af4676747d2 (diff)
downloadQt-608c6090eda5579cc6325c3b91172614da1a464d.zip
Qt-608c6090eda5579cc6325c3b91172614da1a464d.tar.gz
Qt-608c6090eda5579cc6325c3b91172614da1a464d.tar.bz2
disable the Embedded Linux data directory permissions check for QNX
so make it posible to store the Embedded Linux data directory on ACL-less file systems (like various FATs, ETFS and so on) Merge-request: 1259 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
-rw-r--r--src/gui/kernel/qapplication_qws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_qws.cpp b/src/gui/kernel/qapplication_qws.cpp
index 1197c77..1fe360f 100644
--- a/src/gui/kernel/qapplication_qws.cpp
+++ b/src/gui/kernel/qapplication_qws.cpp
@@ -209,7 +209,7 @@ QString qws_dataDir()
if (!S_ISDIR(buf.st_mode))
qFatal("%s is not a directory", dataDir.constData());
-#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS)
+#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS) && !defined(Q_OS_QNX)
if (buf.st_uid != getuid())
qFatal("Qt for Embedded Linux data directory is not owned by user %d", getuid());