Index: main.cpp =================================================================== diff -u -r9ef6badf8e172436bba2bfad1642ae7e469e0361 -r8f0f881a3d47ce3c714a5b24c46f82123445efcc --- main.cpp (.../main.cpp) (revision 9ef6badf8e172436bba2bfad1642ae7e469e0361) +++ main.cpp (.../main.cpp) (revision 8f0f881a3d47ce3c714a5b24c46f82123445efcc) @@ -390,7 +390,7 @@ quint16 errorCode; QString errorText; errorCode = Device::DeviceError::checkScript (scriptName, Storage::Device_Lockdown ); - errorText = Device::DeviceError::deviceErrorText( errorCode, 1 ); + errorText = Device::DeviceError::deviceErrorText( static_cast(errorCode), 1); qDebug() << errorText; // since we are in the manufacturing mode it is possible to probably take a look at the serial, if not that is being logged. #ifdef BUILD_FOR_TARGET Storage::FileHandler::write("/home/root/lockdown.log" , errorText, false); Index: scripts/globals.sh =================================================================== diff -u -r7013569e4b863f30d40b145fb12e335992e001b9 -r8f0f881a3d47ce3c714a5b24c46f82123445efcc --- scripts/globals.sh (.../globals.sh) (revision 7013569e4b863f30d40b145fb12e335992e001b9) +++ scripts/globals.sh (.../globals.sh) (revision 8f0f881a3d47ce3c714a5b24c46f82123445efcc) @@ -69,9 +69,9 @@ DST_PATH_CLOUDSYNC="/home/$DST_USER/cloudsync" DST_PATH_FONTS="/usr/share/fonts/truetype" -POSTLOG=$HOME/post.log -POSTERR=$HOME/post.err -POSTOUT=$HOME/post.out +POSTLOG=/tmp/post.log +POSTERR=/tmp/post.err +POSTOUT=/tmp/post.out POSTMSG_POSTFIX_PASSED=" passed" POSTMSG_POSTFIX_FAILED=" failed" POSTMSG_CANBUS="CANBus" Index: sources/ApplicationPost.cpp =================================================================== diff -u -r7f61c3b45a50145fe5c245018d481d6266166fa6 -r8f0f881a3d47ce3c714a5b24c46f82123445efcc --- sources/ApplicationPost.cpp (.../ApplicationPost.cpp) (revision 7f61c3b45a50145fe5c245018d481d6266166fa6) +++ sources/ApplicationPost.cpp (.../ApplicationPost.cpp) (revision 8f0f881a3d47ce3c714a5b24c46f82123445efcc) @@ -36,7 +36,7 @@ */ void ApplicationPost::start() { - QString postLogFileName = QCoreApplication::applicationDirPath() + "/" + Storage::POST_LOG; + QString postLogFileName = QDir::tempPath() + "/" + Storage::POST_LOG; if (Storage::FileHandler::read(postLogFileName, _content)) { _isShaSum = checkShaSum (); _isCANBus = checkCANBus ();