<?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: Fine grained control of volumes in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/64309#M1731</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_section"&gt;&lt;STRONG&gt;Yes, it is possible to provide fine-grained control at the folder or file level within a volume in Databricks Unity Catalog. You can achieve this by creating managed or external volumes in the Unity Catalog and granting specific groups or users access to the desired directories or files within the volume. With managed volumes, you can create governed storage for working with files without the need for configuring access to cloud storage, while external volumes allow you to add governance to existing cloud object storage directories.To create a managed volume, you can use the&amp;nbsp;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;CREATE VOLUME&lt;/CODE&gt;&amp;nbsp;command in SQL or the Catalog Explorer UI. For example:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;CREATE VOLUME &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;volume-name&amp;gt;;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_section"&gt;&lt;STRONG&gt;To create an external volume, you can specify the location within an external location using the&amp;nbsp;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;CREATE EXTERNAL VOLUME&lt;/CODE&gt;&amp;nbsp;command in SQL or the Catalog Explorer UI. For example:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;CREATE EXTERNAL VOLUME &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;external-volume-name&amp;gt; LOCATION 's3://&amp;lt;external-location-bucket-path&amp;gt;/&amp;lt;directory&amp;gt;';&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_section"&gt;Once the volumes are created, you can grant permissions to specific groups or users using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;GRANT&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command in SQL. For example:&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;GRANT READ VOLUME, WRITE VOLUME ON VOLUME &amp;lt;volume-name&amp;gt; TO &amp;lt;group-name&amp;gt;;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="p-rich_text_section"&gt;You can then access and work with the files in the the volume using SQL,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;%fs&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;magic command, Databricks utilities, or other libraries. The path to access files in volumes follows the format:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;path&amp;gt;/&amp;lt;file-name&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;dbfs:/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;path&amp;gt;/&amp;lt;file-name&amp;gt;&lt;/CODE&gt;.&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="c-link" href="https://docs.databricks.com/data-governance/unity-catalog/best-practices.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/data-governance/unity-catalog/best-practices.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/data-governance/unity-catalog/best-practices.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://docs.databricks.com/connect/unity-catalog/volumes.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/connect/unity-catalog/volumes.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/connect/unity-catalog/volumes.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="c-link" href="https://docs.databricks.com/discover/files.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/discover/files.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/discover/files.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)" target="_blank" rel="noopener noreferrer" data-stringify-link="https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)" data-sk="tooltip_parent"&gt;https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 15:53:47 GMT</pubDate>
    <dc:creator>Sidhant07</dc:creator>
    <dc:date>2024-03-21T15:53:47Z</dc:date>
    <item>
      <title>Fine grained control of volumes</title>
      <link>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/61489#M1688</link>
      <description>&lt;P&gt;Is it possible to provide fine grained control (folder level/file level) for a given volume?&lt;/P&gt;&lt;P&gt;I have two SCIM integrated groups who have read volume access at the catalog level, but those two groups need different permissions on a lower level. Preferably at a folder or file level within the volume.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Volume:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(Top level)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;landing/&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;(Inner level)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;UL&gt;&lt;LI&gt;landing/PDF (group 1 needs access only)&lt;/LI&gt;&lt;LI&gt;landing/CSV (group 2 needs access only)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it possible to achieve this without having to mount the inner levels as a top level or creating X schemas? Any recommendations are highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 15:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/61489#M1688</guid>
      <dc:creator>ossinova</dc:creator>
      <dc:date>2024-02-22T15:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fine grained control of volumes</title>
      <link>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/64309#M1731</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_section"&gt;&lt;STRONG&gt;Yes, it is possible to provide fine-grained control at the folder or file level within a volume in Databricks Unity Catalog. You can achieve this by creating managed or external volumes in the Unity Catalog and granting specific groups or users access to the desired directories or files within the volume. With managed volumes, you can create governed storage for working with files without the need for configuring access to cloud storage, while external volumes allow you to add governance to existing cloud object storage directories.To create a managed volume, you can use the&amp;nbsp;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;CREATE VOLUME&lt;/CODE&gt;&amp;nbsp;command in SQL or the Catalog Explorer UI. For example:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;CREATE VOLUME &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;volume-name&amp;gt;;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_section"&gt;&lt;STRONG&gt;To create an external volume, you can specify the location within an external location using the&amp;nbsp;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;CREATE EXTERNAL VOLUME&lt;/CODE&gt;&amp;nbsp;command in SQL or the Catalog Explorer UI. For example:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;CREATE EXTERNAL VOLUME &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;external-volume-name&amp;gt; LOCATION 's3://&amp;lt;external-location-bucket-path&amp;gt;/&amp;lt;directory&amp;gt;';&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="p-rich_text_section"&gt;Once the volumes are created, you can grant permissions to specific groups or users using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;GRANT&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command in SQL. For example:&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p-rich_text_block--no-overflow"&gt;&lt;STRONG&gt;GRANT READ VOLUME, WRITE VOLUME ON VOLUME &amp;lt;volume-name&amp;gt; TO &amp;lt;group-name&amp;gt;;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="p-rich_text_section"&gt;You can then access and work with the files in the the volume using SQL,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;%fs&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;magic command, Databricks utilities, or other libraries. The path to access files in volumes follows the format:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;path&amp;gt;/&amp;lt;file-name&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;dbfs:/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;path&amp;gt;/&amp;lt;file-name&amp;gt;&lt;/CODE&gt;.&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="c-link" href="https://docs.databricks.com/data-governance/unity-catalog/best-practices.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/data-governance/unity-catalog/best-practices.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/data-governance/unity-catalog/best-practices.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://docs.databricks.com/connect/unity-catalog/volumes.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/connect/unity-catalog/volumes.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/connect/unity-catalog/volumes.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="c-link" href="https://docs.databricks.com/discover/files.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/discover/files.html" data-sk="tooltip_parent"&gt;https://docs.databricks.com/discover/files.html&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)" target="_blank" rel="noopener noreferrer" data-stringify-link="https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)" data-sk="tooltip_parent"&gt;https://databricks.com/blog/announcing-public-preview-volumes-databricks-unity-catalog)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/64309#M1731</guid>
      <dc:creator>Sidhant07</dc:creator>
      <dc:date>2024-03-21T15:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fine grained control of volumes</title>
      <link>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/64859#M1735</link>
      <description>&lt;P&gt;Can you define the external location at the Landing level and create two Volumes one for PDF and other for CSV and provide access to the respective groups 1 and 2.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 22:31:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/fine-grained-control-of-volumes/m-p/64859#M1735</guid>
      <dc:creator>rkalluri-apex</dc:creator>
      <dc:date>2024-03-27T22:31:56Z</dc:date>
    </item>
  </channel>
</rss>

