mirror of
https://github.com/relan/exfat.git
synced 2026-01-12 00:18:54 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user