- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 09:41 AM - edited 02-21-2025 09:42 AM
As an admin, I can easily read a public s3 bucket from serverless:
spark.read.parquet("s3://[public bucket]/[path]").display()
So can a non-admin user, from classic compute.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @spd_dat,
Is the S3 bucket in the same region as your workspace? It might required using a IAM role / S3 bucket to allow the bucket even if it is public.
Just for a test can you try giving the user who is trying the below permission:
GRANT SELECT ON ANY FILE TO `<user@domain-name>`;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @spd_dat,
Is the S3 bucket in the same region as your workspace? It might required using a IAM role / S3 bucket to allow the bucket even if it is public.
Just for a test can you try giving the user who is trying the below permission:
GRANT SELECT ON ANY FILE TO `<user@domain-name>`;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Thanks Alberto,
Yes granting solves it -- I was initially worried that that would mean overly broad permissions (as the warning box states here) but I guess it is moderately comforting to read:
Privileges on the ANY FILE securable cannot override Unity Catalog privileges and do not grant or expand privileges on data objects governed by Unity Catalog. Some drivers and custom-installed libraries might compromise user isolation by storing data of all users in one common temp directory.
https://docs.databricks.com/aws/en/data-governance/table-acls/any-file#privileges-for-any-file
In any case, another workaround remains for non-admin users to use classic compute for this.
(It is not in the same region, but I did not worry too much about region as they can read via classic already..)

