fix
This commit is contained in:
parent
c60ac2b8ae
commit
2f46b2eefd
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue