This commit is contained in:
Ganlin Zhao 2023-08-28 10:10:16 +08:00
parent c60ac2b8ae
commit 2f46b2eefd
1 changed files with 0 additions and 3 deletions

View File

@ -257,9 +257,6 @@ int32_t taosMulModeMkDir(const char *dirname, int mode, bool checkAccess) {
return chmod(temp, mode);
}
if (checkAccess && taosCheckAccessFile(temp, TD_FILE_ACCESS_EXIST_OK | TD_FILE_ACCESS_READ_OK | TD_FILE_ACCESS_WRITE_OK)) {
return 0;
}
return chmod(temp, mode);
}