<?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: Unable to access unity catalog volume via /Volumes in notebook in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67480#M33351</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Ensure that you have the necessary privileges on the catalog, schema, and volume, to access a volume, you must have the USE CATALOG privilege on the Volume’s parent catalog and the USE SCHEMA privilege on its parent schema.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;If you're trying to create a volume, you need the CREATE VOLUME privilege on the schema where you want to create the Volume, the USE SCHEMA privilege on the schema, and the USE CATALOG privilege on the parent catalog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;If you're dealing with an External Volume, you must also have the CREATE EXTERNAL VOLUME privilege on an External Location where you want to create the Volume.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Apr 2024 16:05:57 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-04-27T16:05:57Z</dc:date>
    <item>
      <title>Unable to access unity catalog volume via /Volumes in notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67419#M33339</link>
      <description>&lt;P&gt;I have set up a volume in unity catalog in the format catalog/schema/volume, and granted all permissions to all users on the catalog, schema and volume.&lt;/P&gt;&lt;P&gt;From the notebook I can see the /Volumes directory in the root of the file system but am unable to read or list files within it.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import stat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;stat.&lt;/SPAN&gt;&lt;SPAN&gt;filemode&lt;/SPAN&gt;&lt;SPAN&gt;(os.&lt;/SPAN&gt;&lt;SPAN&gt;stat&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/Volumes"&lt;/SPAN&gt;&lt;SPAN&gt;).st_mode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# 'drwxrwxrwx&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;stat.&lt;/SPAN&gt;&lt;SPAN&gt;filemode&lt;/SPAN&gt;&lt;SPAN&gt;(os.&lt;/SPAN&gt;&lt;SPAN&gt;stat&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/Volumes/catalog"&lt;/SPAN&gt;&lt;SPAN&gt;).st_mode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# PermissionErro&lt;/SPAN&gt;: [Errno 1] Operation not permitted: '/Volumes/catalog'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Apr 2024 15:29:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67419#M33339</guid>
      <dc:creator>DC3</dc:creator>
      <dc:date>2024-04-26T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access unity catalog volume via /Volumes in notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67480#M33351</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Ensure that you have the necessary privileges on the catalog, schema, and volume, to access a volume, you must have the USE CATALOG privilege on the Volume’s parent catalog and the USE SCHEMA privilege on its parent schema.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;If you're trying to create a volume, you need the CREATE VOLUME privilege on the schema where you want to create the Volume, the USE SCHEMA privilege on the schema, and the USE CATALOG privilege on the parent catalog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;If you're dealing with an External Volume, you must also have the CREATE EXTERNAL VOLUME privilege on an External Location where you want to create the Volume.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 16:05:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67480#M33351</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-04-27T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access unity catalog volume via /Volumes in notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67595#M33378</link>
      <description>&lt;P&gt;Thanks for your comments. The problem turned out to be the compute resource not having unity catalog enabled.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:51:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-unity-catalog-volume-via-volumes-in-notebook/m-p/67595#M33378</guid>
      <dc:creator>DC3</dc:creator>
      <dc:date>2024-04-29T14:51:45Z</dc:date>
    </item>
  </channel>
</rss>

