From 5d3dd6f2e301983cf57c43f8d232d7dc39ae213c Mon Sep 17 00:00:00 2001 From: relan Date: Thu, 10 Sep 2015 12:24:59 +0300 Subject: [PATCH] Do not set archive bit on directory creation. Windows Exporer does not set archive bit for new directories either. This fixes compatibility with Zalman VE-200 which is unable to read images from the _ISO directory if it has archive bit set. --- libexfat/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexfat/node.c b/libexfat/node.c index 6e18c09..f3d10e0 100644 --- a/libexfat/node.c +++ b/libexfat/node.c @@ -973,7 +973,7 @@ int exfat_mkdir(struct exfat* ef, const char* path) int rc; struct exfat_node* node; - rc = create(ef, path, EXFAT_ATTRIB_ARCH | EXFAT_ATTRIB_DIR); + rc = create(ef, path, EXFAT_ATTRIB_DIR); if (rc != 0) return rc; rc = exfat_lookup(ef, &node, path); -- 2.11.0