westonpace opened a new pull request #11136:
URL: https://github.com/apache/arrow/pull/11136


   I still need to add a regression test.  I've been able to test by 
configuring my server with minio client.  I think it'd probably be easiest to 
create a crossbow test for this situation.  Current steps:
   
   ```
   mc alias set myminio http://localhost:9000 minioadmin minioadmin
   mc admin policy add myminio/ no-create-buckets 
ci/etc/minio-no-create-bucket-policy.json
   mc admin user add myminio/ limited limited123
   mc admin policy set myminio no-create-buckets user=limited
   mc mb myminio/existing-bucket
   ```
   
   Then, in python:
   
   ```
   import pyarrow.fs as fs
   filesystem = fs.S3FileSystem(access_key='limited', secret_key='limited123', 
endpoint_override='http://localhost:9000')
   filesystem.create_dir('existing-bucket/foo') # This line fails without the 
change
   ```


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to