diff --git a/shared/filesaver.cpp b/shared/filesaver.cpp index d9c0ec5..bb5d07f 100644 --- a/shared/filesaver.cpp +++ b/shared/filesaver.cpp @@ -100,6 +100,11 @@ SaveFileResult FileSaver::saveFile(const QFileInfo &fileInfo) int status = -1; + if(!fileInfo.isReadable()) + { + return NOACCESS; + } + if(!fileInfo.exists()) { return NOTFOUND;