From bca71afa70135b83ee04c876adc92982aef8a4c1 Mon Sep 17 00:00:00 2001 From: Ann Priestman Date: Fri, 3 Nov 2017 12:53:23 -0400 Subject: [PATCH] Fix storing of read only flag --- .../autopsy/modules/hashdatabase/HashLookupSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashLookupSettings.java b/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashLookupSettings.java index 84f3bd744c..ada8967be7 100755 --- a/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashLookupSettings.java +++ b/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashLookupSettings.java @@ -363,7 +363,7 @@ final class HashLookupSettings implements Serializable { this.hashSetName = centralRepoDb.getHashSetName(); this.version = centralRepoDb.getVersion(); this.knownFilesType = centralRepoDb.getKnownFilesType(); - this.readOnly = centralRepoDb.isUpdateable(); + this.readOnly = ! centralRepoDb.isUpdateable(); this.searchDuringIngest = centralRepoDb.getSearchDuringIngest(); this.sendIngestMessages = centralRepoDb.getSendIngestMessages(); this.path = "";