This commit is contained in:
Scott E. Graves 2024-11-11 13:59:20 -06:00
parent 6b40658eac
commit 1eec19c583

View File

@ -142,7 +142,7 @@ auto fuse_drive::create_impl(std::string api_path, mode_t mode,
res = check_parent_access(api_path, W_OK);
}
} else {
res = res = check_access(api_path, R_OK);
res = check_access(api_path, R_OK);
if (res == api_error::item_not_found) {
res = check_parent_access(api_path, R_OK);
}