<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How does a non-admin user read a public s3 bucket on serverless? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/111001#M3044</link>
    <description>&lt;P&gt;Thanks Alberto,&lt;/P&gt;&lt;P&gt;Yes granting solves it -- I was initially worried that that would mean overly broad permissions (as the warning box states &lt;A href="https://kb.databricks.com/data/user-does-not-have-permission-select-on-any-file" target="_self"&gt;here&lt;/A&gt;) but I guess it is moderately comforting to read:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Privileges on the&amp;nbsp;ANY FILE&amp;nbsp;securable cannot override&amp;nbsp;Unity Catalog&amp;nbsp;privileges and do not grant or expand privileges on data objects governed by&amp;nbsp;Unity Catalog. Some drivers and custom-installed libraries might compromise user isolation by storing data of all users in one common temp directory.&lt;BR /&gt;&lt;/EM&gt;&lt;A href="https://docs.databricks.com/aws/en/data-governance/table-acls/any-file#privileges-for-any-file" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/data-governance/table-acls/any-file#privileges-for-any-file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In any case, another workaround remains for non-admin users to use classic compute for this.&lt;/P&gt;&lt;P&gt;(It is not in the same region, but I did not worry too much about region as they can read via classic already..)&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2025 07:31:26 GMT</pubDate>
    <dc:creator>spd_dat</dc:creator>
    <dc:date>2025-02-24T07:31:26Z</dc:date>
    <item>
      <title>How does a non-admin user read a public s3 bucket on serverless?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/110895#M3036</link>
      <description>&lt;P&gt;As an admin, I can easily read a &lt;EM&gt;public&lt;/EM&gt; s3 bucket from serverless:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;parquet&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"s3://[public bucket]/[path]"&lt;/SPAN&gt;&lt;SPAN&gt;).display()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So can a non-admin user, from classic compute.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;But why does a non-admin user, from serverless (both environments 1 &amp;amp; 2) get the following:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;FONT face="courier new,courier"&gt;[&lt;A class="" href="https://docs.databricks.com/error-messages/error-classes.html#insufficient_permissions" target="_blank" rel="noopener noreferrer"&gt;INSUFFICIENT_PERMISSIONS&lt;/A&gt;] Insufficient privileges: User does not have permission SELECT on any file. SQLSTATE: 42501&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;(Again, it's a public bucket.)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Feb 2025 17:42:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/110895#M3036</guid>
      <dc:creator>spd_dat</dc:creator>
      <dc:date>2025-02-21T17:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How does a non-admin user read a public s3 bucket on serverless?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/110997#M3043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/150069"&gt;@spd_dat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Just for a test can you try giving the user who is trying the below permission:&lt;/P&gt;
&lt;P&gt;GRANT SELECT ON ANY FILE TO `&amp;lt;user@domain-name&amp;gt;`;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 00:07:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/110997#M3043</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-24T00:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does a non-admin user read a public s3 bucket on serverless?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/111001#M3044</link>
      <description>&lt;P&gt;Thanks Alberto,&lt;/P&gt;&lt;P&gt;Yes granting solves it -- I was initially worried that that would mean overly broad permissions (as the warning box states &lt;A href="https://kb.databricks.com/data/user-does-not-have-permission-select-on-any-file" target="_self"&gt;here&lt;/A&gt;) but I guess it is moderately comforting to read:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Privileges on the&amp;nbsp;ANY FILE&amp;nbsp;securable cannot override&amp;nbsp;Unity Catalog&amp;nbsp;privileges and do not grant or expand privileges on data objects governed by&amp;nbsp;Unity Catalog. Some drivers and custom-installed libraries might compromise user isolation by storing data of all users in one common temp directory.&lt;BR /&gt;&lt;/EM&gt;&lt;A href="https://docs.databricks.com/aws/en/data-governance/table-acls/any-file#privileges-for-any-file" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/data-governance/table-acls/any-file#privileges-for-any-file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In any case, another workaround remains for non-admin users to use classic compute for this.&lt;/P&gt;&lt;P&gt;(It is not in the same region, but I did not worry too much about region as they can read via classic already..)&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 07:31:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-does-a-non-admin-user-read-a-public-s3-bucket-on-serverless/m-p/111001#M3044</guid>
      <dc:creator>spd_dat</dc:creator>
      <dc:date>2025-02-24T07:31:26Z</dc:date>
    </item>
  </channel>
</rss>

