SecureBulkLoadEndpoint checks the permission of staging dir. If it is not “
rwx x-x”, the following error is prompted:
It says "Directory", but user has no idea what the directory is. User need to read code according to the stack trace to find that the error is for staging dir.
Need to add more info into the error message.
Master branch does not have this issue, as it does not check the permission any more.