<?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 User not authorised to copy files to dbfs in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/user-not-authorised-to-copy-files-to-dbfs/m-p/64183#M992</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use a service principal to copy files to dbfs using the command line "databricks fs cp &amp;lt;source&amp;gt; &amp;lt;target&amp;gt;" but get back "User not authorised". I configured the authentication with PAT token and it is successful as I can deploy and launch jobs. My service principal is in a group with the following entitlements:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Workspace access&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Databricks SQL access&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Allow unrestricted cluster creation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- allow-instance-pool-create&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;What permissions am I missing to copy files to dbfs?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 20 Mar 2024 11:19:36 GMT</pubDate>
    <dc:creator>curiousoctopus</dc:creator>
    <dc:date>2024-03-20T11:19:36Z</dc:date>
    <item>
      <title>User not authorised to copy files to dbfs</title>
      <link>https://community.databricks.com/t5/administration-architecture/user-not-authorised-to-copy-files-to-dbfs/m-p/64183#M992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use a service principal to copy files to dbfs using the command line "databricks fs cp &amp;lt;source&amp;gt; &amp;lt;target&amp;gt;" but get back "User not authorised". I configured the authentication with PAT token and it is successful as I can deploy and launch jobs. My service principal is in a group with the following entitlements:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Workspace access&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Databricks SQL access&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- Allow unrestricted cluster creation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;- allow-instance-pool-create&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;What permissions am I missing to copy files to dbfs?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Mar 2024 11:19:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/user-not-authorised-to-copy-files-to-dbfs/m-p/64183#M992</guid>
      <dc:creator>curiousoctopus</dc:creator>
      <dc:date>2024-03-20T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorised to copy files to dbfs</title>
      <link>https://community.databricks.com/t5/administration-architecture/user-not-authorised-to-copy-files-to-dbfs/m-p/64313#M993</link>
      <description>&lt;P&gt;In Databricks, data access permissions are often managed separately from workspace permissions. For DBFS, access control is typically managed through the underlying cloud storage (Azure Blob Storage, S3, etc.). The service principal needs to have the necessary permissions on the underlying storage to read, write, or delete data.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 16:52:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/user-not-authorised-to-copy-files-to-dbfs/m-p/64313#M993</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-03-21T16:52:55Z</dc:date>
    </item>
  </channel>
</rss>

