From ad538eb4ed78e93575008da8f84b123713d28571 Mon Sep 17 00:00:00 2001 From: Meik Date: Tue, 10 Mar 2026 10:45:41 +0100 Subject: [PATCH] fix: restore owner validation for ntfs create --- LiamWorkflowDiagnostics/MainWindow.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LiamWorkflowDiagnostics/MainWindow.xaml.cs b/LiamWorkflowDiagnostics/MainWindow.xaml.cs index f9817e6..b29ee17 100644 --- a/LiamWorkflowDiagnostics/MainWindow.xaml.cs +++ b/LiamWorkflowDiagnostics/MainWindow.xaml.cs @@ -592,6 +592,8 @@ namespace LiamWorkflowDiagnostics if (string.IsNullOrWhiteSpace(parentPath)) throw new InvalidOperationException("Parent Folder Path konnte nicht ermittelt werden."); var ownerSids = ParseIdentifierList(NtfsCreateOwnerSidsTextBox.Text, "Owner SIDs"); + if (ownerSids.Count == 0) + throw new InvalidOperationException("Owner SIDs: mindestens ein Eintrag ist fuer die Ordneranlage erforderlich."); var result = EnsureSuccessfulResultToken(await provider.CreateDataAreaAsync( folderPath,