<?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 Insufficient Permissions Error When Reading Data from S3 in Shared Databricks Compute in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/insufficient-permissions-error-when-reading-data-from-s3-in/m-p/109007#M1867</link>
    <description>&lt;DIV&gt;I am using a Shared Databricks Compute and trying to read data from an S3 bucket via an Instance Profile. However, I am encountering the following error:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have permission SELECT on any file. SQLSTATE: 42501&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;My Setup:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I am a Databricks workspace user.&lt;/DIV&gt;&lt;DIV&gt;The Instance Profile is correctly configured, and I can see it while creating the compute.&lt;/DIV&gt;&lt;DIV&gt;The S3 bucket has the necessary permissions for the instance profile.&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Troubleshooting Steps Tried:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1. Verified that the instance profile is attached to the shared compute.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. Checked S3 bucket permissions (s3:GetObject, s3:ListBucket).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3. Tried using a single-user cluster instead of shared compute (its working fine with single user compute).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is this the expected behavior or a limitation of Shared Databricks Compute?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Feb 2025 17:43:37 GMT</pubDate>
    <dc:creator>vidya_kothavale</dc:creator>
    <dc:date>2025-02-05T17:43:37Z</dc:date>
    <item>
      <title>Insufficient Permissions Error When Reading Data from S3 in Shared Databricks Compute</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/insufficient-permissions-error-when-reading-data-from-s3-in/m-p/109007#M1867</link>
      <description>&lt;DIV&gt;I am using a Shared Databricks Compute and trying to read data from an S3 bucket via an Instance Profile. However, I am encountering the following error:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have permission SELECT on any file. SQLSTATE: 42501&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;My Setup:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I am a Databricks workspace user.&lt;/DIV&gt;&lt;DIV&gt;The Instance Profile is correctly configured, and I can see it while creating the compute.&lt;/DIV&gt;&lt;DIV&gt;The S3 bucket has the necessary permissions for the instance profile.&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Troubleshooting Steps Tried:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1. Verified that the instance profile is attached to the shared compute.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. Checked S3 bucket permissions (s3:GetObject, s3:ListBucket).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3. Tried using a single-user cluster instead of shared compute (its working fine with single user compute).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is this the expected behavior or a limitation of Shared Databricks Compute?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2025 17:43:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/insufficient-permissions-error-when-reading-data-from-s3-in/m-p/109007#M1867</guid>
      <dc:creator>vidya_kothavale</dc:creator>
      <dc:date>2025-02-05T17:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient Permissions Error When Reading Data from S3 in Shared Databricks Compute</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/insufficient-permissions-error-when-reading-data-from-s3-in/m-p/109238#M1873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/113924"&gt;@vidya_kothavale&lt;/a&gt;&amp;nbsp;, Greetings!&lt;/P&gt;
&lt;P&gt;Can you please refer to this article and check if it helps you to resolve your issue :&amp;nbsp;&lt;A href="https://kb.databricks.com/en_US/data/user-does-not-have-permission-select-on-any-file" target="_blank"&gt;https://kb.databricks.com/en_US/data/user-does-not-have-permission-select-on-any-file&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note that these permissions are only required for a shared cluster. The security implications of granting ANY FILE permissions on a filesystem. You should only grant ANY FILE to privileged users. Users with lower privileges on the cluster should never access data by referencing an actual storage location. Instead, they should access data from tables that are created by privileged users, thus ensuring that Table ACLS are enforced.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if this helps and leave a like if this information is useful, followups are appreciated.&lt;BR /&gt;Kudos&lt;BR /&gt;Ayushi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 15:56:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/insufficient-permissions-error-when-reading-data-from-s3-in/m-p/109238#M1873</guid>
      <dc:creator>Ayushi_Suthar</dc:creator>
      <dc:date>2025-02-06T15:56:55Z</dc:date>
    </item>
  </channel>
</rss>

