UWP 16299 System.UnauthorizedAccessException #289

Open
opened 2026-01-29 22:09:36 +00:00 by claunia · 3 comments
Owner

Originally created by @aipenkov on GitHub (Apr 20, 2018).

After calling to the AddAllFromDirectory method, an exception throws: Exception thrown: 'System.UnauthorizedAccessException' in System.IO.FileSystem.dll ("Access to the path 'PATH' is denied."). The folder is added to the StorageApplicationPermissions.FutureAccessList before calling to this method. The problem only occurs in 16299. In other versions of Windows, it does not occur (checked).

Originally created by @aipenkov on GitHub (Apr 20, 2018). After calling to the AddAllFromDirectory method, an exception throws: Exception thrown: 'System.UnauthorizedAccessException' in System.IO.FileSystem.dll ("Access to the path 'PATH' is denied."). The folder is added to the StorageApplicationPermissions.FutureAccessList before calling to this method. The problem only occurs in 16299. In other versions of Windows, it does not occur (checked).
claunia added the bug label 2026-01-29 22:09:36 +00:00
Author
Owner

@adamhathcock commented on GitHub (Apr 20, 2018):

Having not tried to use UWP in a long time nor will soon, I'm open to suggestions.

@adamhathcock commented on GitHub (Apr 20, 2018): Having not tried to use UWP in a long time nor will soon, I'm open to suggestions.
Author
Owner

@justinengle01 commented on GitHub (Apr 26, 2018):

Same problem here and I need the 16299 to add reference to .NET standard library,have you found a solution?

@justinengle01 commented on GitHub (Apr 26, 2018): Same problem here and I need the 16299 to add reference to .NET standard library,have you found a solution?
Author
Owner

@adamhathcock commented on GitHub (Apr 27, 2018):

I need full stack traces or something. Is it simply that the code is accessing paths it shouldn't be because of permissions?

@adamhathcock commented on GitHub (Apr 27, 2018): I need full stack traces or something. Is it simply that the code is accessing paths it shouldn't be because of permissions?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#289