Closed abextm closed 2 years ago
FileOutputStream (by design) passes FILE_ATTRIBUTE_NORMAL and CREATE_ALWAYS to CreateFile, which causes it to fail with access denied if it is opening a FILE_ATTRIBUTE_HIDDEN or FILE_ATTRIBUTE_SYSTEM file
FileOutputStream (by design) passes FILE_ATTRIBUTE_NORMAL and CREATE_ALWAYS to CreateFile, which causes it to fail with access denied if it is opening a FILE_ATTRIBUTE_HIDDEN or FILE_ATTRIBUTE_SYSTEM file