mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
Program abortion upon inaccessible directories and junctions #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Feathered-Serpent on GitHub (Jul 5, 2023).
Upon trying to let a whole disk drive being scanned (e.g. where one might install games), BurnOutSharp first stops at this:
System.UnauthorizedAccessException: Access to the path 'C:\System Volume Information' is denied.Probably because the directory is owned from the Windows System account. But it's not only permissions who stop the program:
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Gemeinsame Dateien' is denied.This is a junction to another directory:
<JUNCTION> Gemeinsame Dateien [C:\Program Files\Common Files]So how can I make the program just skip over these entries?
@mnadareski commented on GitHub (Oct 23, 2024):
Current
SafeEnumeratemethods are the best we can do at this point.