We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84f3c6 commit 8b75a05Copy full SHA for 8b75a05
src/query/sql/src/planner/binder/ddl/table.rs
@@ -1882,7 +1882,10 @@ async fn verify_external_location_privileges(dal: Operator) -> Result<()> {
1882
}
1883
1884
// verify privilege to list
1885
- if let Err(e) = dal.list(VERIFICATION_KEY).await {
+ // Append "/" to the verification key to ensure we are listing the contents of the directory/prefix
1886
+ // rather than attempting to list a single object.
1887
+ // Like aws s3 express one, the list requires a end delimiter.
1888
+ if let Err(e) = dal.list(&format!("{}{}", VERIFICATION_KEY, "/")).await {
1889
errors.push(format!("Permission check for [List] failed: {}", e));
1890
1891
0 commit comments