mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8317687: (fs) FileStore.supportsFileAttributeView("posix") incorrectly returns 'true' for FAT32 volume on macOS
Reviewed-by: alanb
This commit is contained in:
parent
eb7d972d8a
commit
1a7fd5d419
3 changed files with 35 additions and 6 deletions
|
@ -142,7 +142,7 @@ class LinuxFileStore
|
|||
}
|
||||
return xattrEnabled;
|
||||
}
|
||||
// POSIX attributes not supported on FAT
|
||||
// POSIX attributes not supported on FAT32
|
||||
if (type == PosixFileAttributeView.class && entry().fstype().equals("vfat"))
|
||||
return false;
|
||||
return super.supportsFileAttributeView(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue