dotnet run --project ScanMsg/ScanMsg.NET5.csproj -- /dotnet run --project ScanMsg/ScanMsg.NET5.csproj -- /root
Scanning files...Unhandled exception. System.UnauthorizedAccessException: Access to the path '/root' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:line 79
at System.IO.Enumeration.FileSystemEnumerator`1.Init() in /_/src/libraries/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:line 39
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.cs:line 41
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerable.cs:line 38
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerableFactory.cs:line 125
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Directory.cs:line 181
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) in /_/src/libraries/System.IO.FileSystem/src/System/IO/Directory.cs:line 143
at ScanMsg.ScanMsg.MainScan(List`1 args) in /home/wipe/tmp/ScanMsg/ScanMsg/ScanMsg.cs:line 645
at ScanMsg.ScanMsg.Main(String[] args) in /home/wipe/tmp/ScanMsg/ScanMsg/ScanMsg.cs:line 469
dotnet run --project ScanMsg/ScanMsg.NET5.csproj -- /
dotnet run --project ScanMsg/ScanMsg.NET5.csproj -- /root