Skip to content

Commit 5046a2c

Browse files
mgallienbackportbot[bot]
authored andcommitted
chore(logs): add an explicit log entry for the permissions test
Signed-off-by: Matthieu Gallien <[email protected]>
1 parent c04a7f4 commit 5046a2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/folderwatcher.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ void FolderWatcher::performSetPermissionsTest(const QString &path)
138138
_canSetPermissions = false;
139139
}
140140

141+
qCInfo(lcFolderWatcher()) << "Permissions in file system for" << path << (_canSetPermissions ? "works as expected" : "are not reliable");
142+
141143
FileSystem::setFileReadOnly(path, false);
142144
QFile(path).remove();
143145
}

0 commit comments

Comments
 (0)