From 8c8a066c0e0988d840d5a0fb9f4d383615791ec0 Mon Sep 17 00:00:00 2001 From: aneesh-n <99904+aneesh-n@users.noreply.github.com> Date: Sat, 3 Aug 2024 18:06:47 -0600 Subject: [PATCH] Correct the bitmask for fileSupportsExtendedAttributes and add link --- internal/fs/ea_windows.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/fs/ea_windows.go b/internal/fs/ea_windows.go index e69f595a8..b5d1e3cc8 100644 --- a/internal/fs/ea_windows.go +++ b/internal/fs/ea_windows.go @@ -61,7 +61,8 @@ var ( const ( // fileSupportsExtendedAttributes is a bitmask that indicates whether the file system supports extended attributes. - fileSupportsExtendedAttributes = 0x00000004 + // https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_fs_attribute_information + fileSupportsExtendedAttributes = 0x00800000 ) // ExtendedAttribute represents a single Windows EA.