Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys/FileKey.cpp')
-rw-r--r--src/keys/FileKey.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keys/FileKey.cpp b/src/keys/FileKey.cpp
index 9c3d41c1d..6142d58d7 100644
--- a/src/keys/FileKey.cpp
+++ b/src/keys/FileKey.cpp
@@ -200,6 +200,7 @@ bool FileKey::create(const QString& fileName, QString* errorMsg, int size)
}
create(&file, size);
file.close();
+ file.setPermissions(QFile::ReadUser);
if (file.error()) {
if (errorMsg) {