mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 05:27:05 +00:00
UnauthorizedAccessException occurs for extracting tar file at .NET Framework 4.7.1 #596
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 @ghost on GitHub (Nov 7, 2023).
My application working on .NET Framework 4.7.1 needs to extract a tar file.
But System.UnauthorizedAccessException occurs while extracting tar file.
My code is like this
(The version of SharpCompress is 0.34.1)
Since there is no problem with the other library 'SharpZipLib' or System.Formats.Tar(on .NET 7), I think there is no problem with access permission on the file or directory.
@Erior commented on GitHub (Dec 4, 2023):
The test suite does extractions with net462, do you have an example tar file that we can play with?