Loading...

Illustrated Example of Applying ACLs Recursively with Storage Explorer

Illustrated Example of Applying ACLs Recursively with Storage Explorer

Scenario:
The Propagate Access Control Lists option is now available in Storage Explorer 1.28.1 or later versions. It is a convenient feature to apply ACL entries recursively on the existing child items of a parent directory without having to make these changes individually for each child item.

 

Objective:
To demonstrate how ACLs propagation works with the help of the Propagate Access Control Lists option in Storage Explorer 1.28.1+.

Pre-requisites:

For this example, you would need:

  1. An Azure Data Lake Storage.
  2. Storage Explorer 1.28.1 or later versions.

Storage File Structure:

 

charleswang_0-1682186614496.png

 

How to Propagate ACLs:

To apply ACL entries recursively, open Storage Explorer, right-click the container or a parent directory, and then select Propagate Access Control Lists.

 

charleswang_0-1682189107160.png

 

Example:

 

propagete-acl-test (root) 

a01 

a02 

b01 

b02 

c01 

c02 

---

default permission 

default permission

default permission 

default permission

default permission

default permission

default permission 

Add read access for Others for root 

Read access enabled for Others 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

Propagate root 

<same-as-
before> 

Read access enabled for Others 

Read access enabled for Others

Read access enabled for Others 

Read access enabled for Others

Read access enabled for Others 

Read access enabled for Others 

Add execute access for Others for a01 

<same-as-
before> 

Execute access enabled for Others 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

Propagate a01

<same-as-
before>

<same-as-
before>

<same-as-
before> 

Execute access enabled for Others 

Execute access enabled for Others 

<same-as-
before> 

<same-as-
before> 

Add Charles and give him read/execute access for root 

Read access enabled for Others, Charles has read/execute access 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

<same-as-
before> 

Propagate root 

<same-as-
before> 

Read access enabled for Others, Charles has read/execute access 

Read access enabled for Others, Charles has read/execute access 

Read access enabled for Others, Charles has read/execute access 

Read access enabled for Others, Charles has read/execute access 

Read access enabled for Others, Charles has read/execute access 

Read access enabled for Others, Charles has read/execute access 

 

Conclusion:

This example shows how to propagate ACLs with Storage Explorer 1.28.1. The propagate-acl-test is a container with two levels of directories. I made various modifications (highlighted in BLUEto the ACLs and clicked the Propagate Access Control Lists button from the Storage Explorer for testing ACLs propagation. The results are summarized in the previous table. You can tell that the "Propagate ACL" option overwrites existing ACLs down the directory tree (highlighted in RED) with the parent ACL settings (highlighted in GREEN).

 

References:

 

Published on:

Learn more
Azure PaaS Blog articles
Azure PaaS Blog articles

Azure PaaS Blog articles

Share post:

Related posts

Azure Storage - TLS 1.0 and 1.1 retirement

Overview TLS 1.0 and 1.1 retirement on Azure Storage was previously announced for Nov 1st, 2024, and it was postponed recently to 1 year later...

1 year ago

Efficient Management of Append and Page Blobs Using Azure Storage Actions

  Overview In Azure Storage, Blob Lifecycle Management (BLM) allows you to automate the management of your data based on rules defined by...

1 year ago

[Azure AI Search] Internal Server Error when creating CMK encrypted objects

Scenario Customers follow the Microsoft doc to create CMK encrypted objects (data source, index etc.), but get the 500 Internal Serv...

1 year ago

Optimizing Azure Table Storage: Automated Data Cleanup using a PowerShell script with Azure Automate

Scenario This blog’s aim is to manage Table Storage data efficiently. Imagine you have a large Azure Table Storage that accumulates logs from ...

1 year ago

Optimizing Azure Table Storage: Automated Data Clean-up using a PowerShell script with Azure Automat

Scenario This blog’s aim is to manage Table Storage data efficiently. Imagine you have a large Azure Table Storage that accumulates logs from ...

1 year ago

Restoring Soft-Deleted Blobs with multithreading in Azure Storage Using C#

Blob soft delete is an essential feature that safeguards your data against accidental deletions or overwrites. By retaining deleted data for a...

1 year ago

Performing simple Azure Table Storage REST API operations using curl command.

The blog provides guidance to perform simple Table Storage REST API operations such as Create table, Delete Table, Insert entity, Delete entit...

1 year ago

Bulk delete all the old jobs from the batch account

Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task dat...

1 year ago

Utilizing Azure Storage and Runbooks for scheduled automated backups of Azure SQL Databases

In this article, we are going to provide detailed steps to create a scheduled Azure SQL Database backup to storage account using automation. T...

2 years ago

[Azure Service Bus] JMS messages getting dead-lettered

The article discusses a problem where numerous messages end up in the dead letter queue (DLQ) when the JMS service bus consumer connects to th...

2 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.