-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS/tvOS] System.IO.Compression.Tests.ZipFile_Unix.UnixCreateSetsPermissionsInExternalAttributes fails on devices #60581
Comments
Tagging subscribers to this area: @dotnet/area-system-io-compression Issue DetailsMost likely not taking into account platform specifics re: permissions The test fails with:
|
Also affecting the When this issue gets fixed, the fix needs to get backported to |
…pple OSes There are scenarios where chmod succeeds, but the OS clears certain bits, like S_ISGID and S_ISUID. When this happens, the ZipFile tests fail because the .zip file doesn't contain the expected ExternalAttributes. To fix this, read the file mode after calling chmod, and update the expected file mode so the tests still pass. Fix dotnet#68293 Fix dotnet#60581
…pple OSes (#69583) * ZipFile UnixCreateSetsPermissionsInExternalAttributes test fails on Apple OSes There are scenarios where chmod succeeds, but the OS clears certain bits, like S_ISGID and S_ISUID. When this happens, the ZipFile tests fail because the .zip file doesn't contain the expected ExternalAttributes. To fix this, read the file mode after calling chmod, and update the expected file mode so the tests still pass. Fix #68293 Fix #60581 * Fix the tests to expect the correct file name
Most likely not taking into account platform specifics re: permissions
The test fails with:
The text was updated successfully, but these errors were encountered: