<?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: PERMISSION_DENIED: User is not an owner of Table/Schema in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92395#M1947</link>
    <description>&lt;P&gt;I think the feedback button is the right place. At least I don't know of another way.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 07:36:59 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2024-10-01T07:36:59Z</dc:date>
    <item>
      <title>PERMISSION_DENIED: User is not an owner of Table/Schema</title>
      <link>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92308#M1942</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have recently added a service principal for running and managing all of our jobs. The service principal has ALL PRIVILEGES to our catalogs/schemas/and table. But we're still seeing the error message `PERMISSION_DENIED: User is not an owner of Table/Schema` popping up.&lt;/P&gt;&lt;P&gt;For example, running:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ALTER TABLE current_name&lt;/SPAN&gt;&lt;SPAN&gt; RENAME TO new_name;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Results in:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;com.databricks.sql.managedcatalog.acl.UnauthorizedAccessException: PERMISSION_DENIED: User is not an owner of Table current_name&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Even though the service principal indicated in the `run_as` user of the job has ALL PRIVILEGES to the catalog/schema/ and table. The only way we managed to fix the issue was to change the owner of the table to be the new service principal.&lt;/P&gt;&lt;P&gt;Is that an expected behavior? I though `modify` permission is enough for altering a table.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 12:44:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92308#M1942</guid>
      <dc:creator>bean</dc:creator>
      <dc:date>2024-09-30T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: PERMISSION_DENIED: User is not an owner of Table/Schema</title>
      <link>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92319#M1943</link>
      <description>&lt;P&gt;no that is not enough.&amp;nbsp; depending on the operation you want to do you also need ownership.&lt;/P&gt;&lt;P&gt;See here also:&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/community-platform-discussions/permissions-on-unity-catalog-table-constraints/td-p/59569" target="_blank"&gt;Permissions on Unity Catalog Table Constraints - Databricks Community - 59569&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 14:37:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92319#M1943</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-09-30T14:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: PERMISSION_DENIED: User is not an owner of Table/Schema</title>
      <link>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92356#M1946</link>
      <description>&lt;P&gt;Thanks so much for your reply. This makes sense. I wish the alter table documentation&amp;nbsp;&lt;A href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-alter-table.html" target="_blank"&gt;https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-alter-table.html&lt;/A&gt;&amp;nbsp;would have mentioned this explicitly. Because in the Syntax section, it specifies&amp;nbsp; `Alter table {table_name} rename to {new_name}` as a valid syntax but it does not mention that such operations can only be performed by the owner.&lt;BR /&gt;&lt;BR /&gt;Is there somewhere to request documentation updates (beside from the email option via the Feedback button)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 19:39:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92356#M1946</guid>
      <dc:creator>bean</dc:creator>
      <dc:date>2024-09-30T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: PERMISSION_DENIED: User is not an owner of Table/Schema</title>
      <link>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92395#M1947</link>
      <description>&lt;P&gt;I think the feedback button is the right place. At least I don't know of another way.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:36:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/permission-denied-user-is-not-an-owner-of-table-schema/m-p/92395#M1947</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-10-01T07:36:59Z</dc:date>
    </item>
  </channel>
</rss>

