Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/libraries/System.Formats.Tar/tests/TarTestsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ protected static void AssertEntryModeFromFileSystemEquals(TarEntry entry, UnixFi

protected static void AssertFileModeEquals(string path, UnixFileMode mode)
{
if (!PlatformDetection.IsWindows)
if (!PlatformDetection.IsWindows &&
!PlatformDetection.IsAndroid) // Android may change the requested permissions.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any docs/links/etc or more information on exactly what/why Android is changing the requested permissions?

{
Assert.Equal(mode, File.GetUnixFileMode(path));
}
Expand Down