Add permission check
MODIFY
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
@@ -87,6 +87,9 @@ namespace WalletWasabi.Blockchain.BlockFilters
public void Synchronize()
{
+ // Check permissions.
+ using var _ = File.Open(IndexFilePath, FileMode.OpenOrCreate, FileAccess.ReadWrite);
+
Task.Run(async () =>
{
try

Add permission check