ntfs32 opened a new issue, #12580:
URL: https://github.com/apache/dolphinscheduler/issues/12580

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Configure the s3 access permission list buckets
   
   ### What you expected to happen
   
   Configure the s3 access permission list buckets
   
   ### How to reproduce
   
   Configure the s3 accessid,and secret without permission to list buckets,but 
all permission to this bucket
   we will start application api and worker master failed, with permission 
denied to list bucket
   
   ### Anything else
   
   This is because:
   
   
https://github.com/apache/dolphinscheduler/blob/3.1.0/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/S3Utils.java#L103
   
   function checkBucketNameExists will check with list buckets
   
   But most of the time we will give access information without permission to 
list buckets,only list objects or other permission in this bucket
   
   I want to fix it with replace this function with listObject 
   
   However, this file is no longer available on the latest dev branch
   
https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils
   
   Just what new solutions are supported s3?
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to